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 Summary
Constructors -
Method Summary
-
Constructor Details
-
DropUpdateBeforeFunction
public DropUpdateBeforeFunction()
-
-
Method Details
-
filter
public boolean filter(org.apache.flink.table.data.RowData value) - Specified by:
filterin interfaceorg.apache.flink.api.common.functions.FilterFunction<org.apache.flink.table.data.RowData>
-