Package org.apache.flink.table.data.util
Class RowDataUtil
java.lang.Object
org.apache.flink.table.data.util.RowDataUtil
Utilities for
RowData.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
RowDataUtil
public RowDataUtil()
-
-
Method Details
-
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.
-