Class DropUpdateBeforeFunction

java.lang.Object
org.apache.flink.table.runtime.operators.misc.DropUpdateBeforeFunction
All Implemented Interfaces:
Serializable, org.apache.flink.api.common.functions.FilterFunction<org.apache.flink.table.data.RowData>, org.apache.flink.api.common.functions.Function

public class DropUpdateBeforeFunction extends Object implements org.apache.flink.api.common.functions.FilterFunction<org.apache.flink.table.data.RowData>
A function drops only rows with RowKind.UPDATE_BEFORE changelog kind. This is usually used as an optimization for the downstream operators that doesn't need the RowKind.UPDATE_BEFORE messages, but the upstream operator can't drop it by itself.
See Also:
  • Constructor Details

    • DropUpdateBeforeFunction

      public DropUpdateBeforeFunction()
  • Method Details

    • filter

      public boolean filter(org.apache.flink.table.data.RowData value)
      Specified by:
      filter in interface org.apache.flink.api.common.functions.FilterFunction<org.apache.flink.table.data.RowData>