Class InputRowUtils


  • public class InputRowUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      InputRowUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean hasNullField​(java.lang.Object[] row)
      this method checks whether the row returned by IUDFInputDataSet.nextRowInObjects() has any null fields except the timestamp
      static boolean isAllNull​(java.lang.Object[] row)
      this method checks whether the row returned by IUDFInputDataSet.nextRowInObjects() has all null fields except the timestamp
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InputRowUtils

        public InputRowUtils()
    • Method Detail

      • isAllNull

        public static boolean isAllNull​(java.lang.Object[] row)
        this method checks whether the row returned by IUDFInputDataSet.nextRowInObjects() has all null fields except the timestamp
        Parameters:
        row - the returned row by calling IUDFInputDataSet.nextRowInObjects()
        Returns:
        true if all row fields are null.
      • hasNullField

        public static boolean hasNullField​(java.lang.Object[] row)
        this method checks whether the row returned by IUDFInputDataSet.nextRowInObjects() has any null fields except the timestamp
        Parameters:
        row - the returned row by calling IUDFInputDataSet.nextRowInObjects()
        Returns:
        true if any row field is null.