Package org.apache.flink.table.data.util
Class RowDataUtil
- java.lang.Object
-
- org.apache.flink.table.data.util.RowDataUtil
-
public final class RowDataUtil extends Object
Utilities forRowData.
-
-
Constructor Summary
Constructors Constructor Description RowDataUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisAccumulateMsg(org.apache.flink.table.data.RowData row)Returns true if the message is eitherRowKind.INSERTorRowKind.UPDATE_AFTER, which refers to an accumulate operation of aggregation.static booleanisRetractMsg(org.apache.flink.table.data.RowData row)Returns true if the message is eitherRowKind.DELETEorRowKind.UPDATE_BEFORE, which refers to a retract operation of aggregation.
-
-
-
Method Detail
-
isAccumulateMsg
public static boolean isAccumulateMsg(org.apache.flink.table.data.RowData row)
Returns true if the message is eitherRowKind.INSERTorRowKind.UPDATE_AFTER, which refers to an accumulate operation of aggregation.
-
isRetractMsg
public static boolean isRetractMsg(org.apache.flink.table.data.RowData row)
Returns true if the message is eitherRowKind.DELETEorRowKind.UPDATE_BEFORE, which refers to a retract operation of aggregation.
-
-