Class DedupingOperator<T>
java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperator<WindowedValue<T>>
org.apache.beam.runners.flink.translation.wrappers.streaming.io.DedupingOperator<T>
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.state.CheckpointListener,org.apache.flink.streaming.api.operators.Input<WindowedValue<ValueWithRecordId<T>>>,org.apache.flink.streaming.api.operators.KeyContext,org.apache.flink.streaming.api.operators.KeyContextHandler,org.apache.flink.streaming.api.operators.OneInputStreamOperator<WindowedValue<ValueWithRecordId<T>>,,WindowedValue<T>> org.apache.flink.streaming.api.operators.SetupableStreamOperator<WindowedValue<T>>,org.apache.flink.streaming.api.operators.StreamOperator<WindowedValue<T>>,org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperator,org.apache.flink.streaming.api.operators.Triggerable<FlinkKey,org.apache.flink.runtime.state.VoidNamespace>
public class DedupingOperator<T>
extends org.apache.flink.streaming.api.operators.AbstractStreamOperator<WindowedValue<T>>
implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<WindowedValue<ValueWithRecordId<T>>,WindowedValue<T>>, org.apache.flink.streaming.api.operators.Triggerable<FlinkKey,org.apache.flink.runtime.state.VoidNamespace>
Remove values with duplicate ids.
- See Also:
-
Field Summary
Fields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperator
chainingStrategy, config, latencyStats, LOG, metrics, output, processingTimeService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinitializeState(org.apache.flink.runtime.state.StateInitializationContext context) voidonEventTime(org.apache.flink.streaming.api.operators.InternalTimer<FlinkKey, org.apache.flink.runtime.state.VoidNamespace> internalTimer) voidonProcessingTime(org.apache.flink.streaming.api.operators.InternalTimer<FlinkKey, org.apache.flink.runtime.state.VoidNamespace> internalTimer) voidopen()voidprocessElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<WindowedValue<ValueWithRecordId<T>>> streamRecord) Methods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperator
close, finish, getChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getTimeServiceManager, getUserCodeClassloader, hasKeyContext1, hasKeyContext2, initializeState, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processWatermark, processWatermark1, processWatermark2, processWatermarkStatus, processWatermarkStatus1, processWatermarkStatus2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setProcessingTimeService, setup, snapshotState, snapshotStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.api.common.state.CheckpointListener
notifyCheckpointAborted, notifyCheckpointCompleteMethods inherited from interface org.apache.flink.streaming.api.operators.Input
processLatencyMarker, processWatermark, processWatermarkStatusMethods inherited from interface org.apache.flink.streaming.api.operators.KeyContext
getCurrentKey, setCurrentKeyMethods inherited from interface org.apache.flink.streaming.api.operators.KeyContextHandler
hasKeyContextMethods inherited from interface org.apache.flink.streaming.api.operators.OneInputStreamOperator
setKeyContextElementMethods inherited from interface org.apache.flink.streaming.api.operators.StreamOperator
close, finish, getMetricGroup, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotState
-
Constructor Details
-
DedupingOperator
-
-
Method Details
-
initializeState
public void initializeState(org.apache.flink.runtime.state.StateInitializationContext context) throws Exception - Specified by:
initializeStatein interfaceorg.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperator- Overrides:
initializeStatein classorg.apache.flink.streaming.api.operators.AbstractStreamOperator<WindowedValue<T>>- Throws:
Exception
-
open
public void open()- Specified by:
openin interfaceorg.apache.flink.streaming.api.operators.StreamOperator<T>- Overrides:
openin classorg.apache.flink.streaming.api.operators.AbstractStreamOperator<WindowedValue<T>>
-
processElement
public void processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<WindowedValue<ValueWithRecordId<T>>> streamRecord) throws Exception -
onEventTime
public void onEventTime(org.apache.flink.streaming.api.operators.InternalTimer<FlinkKey, org.apache.flink.runtime.state.VoidNamespace> internalTimer) - Specified by:
onEventTimein interfaceorg.apache.flink.streaming.api.operators.Triggerable<FlinkKey,org.apache.flink.runtime.state.VoidNamespace>
-
onProcessingTime
-