public class TemporalProcessTimeJoinOperator extends BaseTwoInputStreamOperatorWithStateRetention
stateCleaningEnabled| Constructor and Description |
|---|
TemporalProcessTimeJoinOperator(BaseRowTypeInfo rightType,
GeneratedJoinCondition generatedJoinCondition,
long minRetentionTime,
long maxRetentionTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupState(long time)
The method to be called when a cleanup timer fires.
|
void |
close() |
void |
onEventTime(org.apache.flink.streaming.api.operators.InternalTimer<Object,org.apache.flink.runtime.state.VoidNamespace> timer)
Invoked when an event-time timer fires.
|
void |
open() |
void |
processElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<BaseRow> element) |
void |
processElement2(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<BaseRow> element) |
cleanupLastTimer, onProcessingTime, registerProcessingCleanupTimerdispose, getChainingStrategy, getContainingTask, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getUserCodeClassloader, initializeState, initializeState, notifyCheckpointComplete, numEventTimeTimers, numProcessingTimeTimers, prepareSnapshotPreBarrier, processLatencyMarker, processLatencyMarker1, processLatencyMarker2, processWatermark, processWatermark1, processWatermark2, reportOrForwardLatencyMarker, setChainingStrategy, setCurrentKey, setKeyContextElement1, setKeyContextElement2, setup, snapshotState, snapshotStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessLatencyMarker1, processLatencyMarker2, processWatermark1, processWatermark2dispose, getChainingStrategy, getMetricGroup, getOperatorID, initializeState, prepareSnapshotPreBarrier, setChainingStrategy, setKeyContextElement1, setKeyContextElement2, snapshotStatepublic TemporalProcessTimeJoinOperator(BaseRowTypeInfo rightType, GeneratedJoinCondition generatedJoinCondition, long minRetentionTime, long maxRetentionTime)
public void open()
throws Exception
open in interface org.apache.flink.streaming.api.operators.StreamOperator<BaseRow>open in class BaseTwoInputStreamOperatorWithStateRetentionExceptionpublic void processElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<BaseRow> element) throws Exception
Exceptionpublic void processElement2(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<BaseRow> element) throws Exception
Exceptionpublic void close()
throws Exception
public void cleanupState(long time)
cleanupState in class BaseTwoInputStreamOperatorWithStateRetentiontime - The timestamp of the fired timer.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.