public class ProcTimeDeduplicateKeepFirstRowFunction
extends org.apache.flink.streaming.api.functions.KeyedProcessFunction<K,IN,OUT>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.flink.api.common.typeutils.TypeSerializer<OUT> |
serializer |
protected org.apache.flink.api.common.state.ValueState<T> |
state |
protected long |
stateRetentionTime |
protected org.apache.flink.api.common.typeinfo.TypeInformation<T> |
typeInfo |
| Constructor and Description |
|---|
ProcTimeDeduplicateKeepFirstRowFunction(long stateRetentionTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
open(org.apache.flink.api.common.functions.OpenContext openContext) |
void |
processElement(org.apache.flink.table.data.RowData input,
org.apache.flink.streaming.api.functions.KeyedProcessFunction.Context ctx,
org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> out) |
protected final org.apache.flink.api.common.typeinfo.TypeInformation<T> typeInfo
protected final long stateRetentionTime
protected final org.apache.flink.api.common.typeutils.TypeSerializer<OUT> serializer
protected org.apache.flink.api.common.state.ValueState<T> state
public ProcTimeDeduplicateKeepFirstRowFunction(long stateRetentionTime)
public void processElement(org.apache.flink.table.data.RowData input,
org.apache.flink.streaming.api.functions.KeyedProcessFunction.Context ctx,
org.apache.flink.util.Collector<org.apache.flink.table.data.RowData> out)
throws Exception
processElement in class org.apache.flink.streaming.api.functions.KeyedProcessFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>ExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.