Class InputRowUtils
- java.lang.Object
-
- org.apache.iotdb.db.mpp.transformation.dag.util.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 booleanhasNullField(java.lang.Object[] row)this method checks whether the row returned by IUDFInputDataSet.nextRowInObjects() has any null fields except the timestampstatic booleanisAllNull(java.lang.Object[] row)this method checks whether the row returned by IUDFInputDataSet.nextRowInObjects() has all null fields except the timestamp
-
-
-
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 callingIUDFInputDataSet.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 callingIUDFInputDataSet.nextRowInObjects()- Returns:
- true if any row field is null.
-
-