public class DeduplicateKeepLastRowFunction extends KeyedProcessFunctionWithCleanupState<BaseRow,BaseRow,BaseRow>
stateCleaningEnabled| Constructor and Description |
|---|
DeduplicateKeepLastRowFunction(long minRetentionTime,
long maxRetentionTime,
BaseRowTypeInfo rowTypeInfo,
boolean generateRetraction) |
| Modifier and Type | Method and Description |
|---|---|
void |
onTimer(long timestamp,
org.apache.flink.streaming.api.functions.KeyedProcessFunction.OnTimerContext ctx,
org.apache.flink.util.Collector<BaseRow> out) |
void |
open(org.apache.flink.configuration.Configuration configure) |
void |
processElement(BaseRow input,
org.apache.flink.streaming.api.functions.KeyedProcessFunction.Context ctx,
org.apache.flink.util.Collector<BaseRow> out) |
cleanupState, initCleanupTimeState, isProcessingTimeTimer, needToCleanupState, registerProcessingCleanupTimerclose, getIterationRuntimeContext, getRuntimeContext, setRuntimeContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterProcessingCleanupTimerpublic DeduplicateKeepLastRowFunction(long minRetentionTime,
long maxRetentionTime,
BaseRowTypeInfo rowTypeInfo,
boolean generateRetraction)
public void open(org.apache.flink.configuration.Configuration configure)
throws Exception
open in interface org.apache.flink.api.common.functions.RichFunctionopen in class org.apache.flink.api.common.functions.AbstractRichFunctionExceptionpublic void processElement(BaseRow input, org.apache.flink.streaming.api.functions.KeyedProcessFunction.Context ctx, org.apache.flink.util.Collector<BaseRow> out) throws Exception
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.