Class RowDataUtil

java.lang.Object
org.apache.flink.table.data.util.RowDataUtil

public final class RowDataUtil extends Object
Utilities for RowData.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isAccumulateMsg(org.apache.flink.table.data.RowData row)
    Returns true if the message is either RowKind.INSERT or RowKind.UPDATE_AFTER, which refers to an accumulate operation of aggregation.
    static boolean
    isRetractMsg(org.apache.flink.table.data.RowData row)
    Returns true if the message is either RowKind.DELETE or RowKind.UPDATE_BEFORE, which refers to a retract operation of aggregation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 either RowKind.INSERT or RowKind.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 either RowKind.DELETE or RowKind.UPDATE_BEFORE, which refers to a retract operation of aggregation.