Class AbstractProcessTableOperator
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.AbstractStreamOperatorV2<org.apache.flink.table.data.RowData>
-
- org.apache.flink.table.runtime.operators.process.AbstractProcessTableOperator
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.state.CheckpointListener,org.apache.flink.streaming.api.operators.KeyContext,org.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.table.data.RowData>,org.apache.flink.streaming.api.operators.StreamOperatorStateHandler.CheckpointedStreamOperator,org.apache.flink.streaming.api.operators.Triggerable<org.apache.flink.table.data.RowData,Object>
- Direct Known Subclasses:
ProcessRowTableOperator,ProcessSetTableOperator
@Internal public abstract class AbstractProcessTableOperator extends org.apache.flink.streaming.api.operators.AbstractStreamOperatorV2<org.apache.flink.table.data.RowData> implements org.apache.flink.streaming.api.operators.Triggerable<org.apache.flink.table.data.RowData,Object>
Base class for operators forProcessTableFunction.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classAbstractProcessTableOperator.RunnerContextImplementation ofProcessTableFunction.Context.classAbstractProcessTableOperator.RunnerOnTimerContextImplementation ofProcessTableFunction.OnTimerContext.
-
Field Summary
Fields Modifier and Type Field Description protected ProcessTableRunnerprocessTableRunnerprotected List<RuntimeTableSemantics>tableSemantics
-
Constructor Summary
Constructors Constructor Description AbstractProcessTableOperator(org.apache.flink.streaming.api.operators.StreamOperatorParameters<org.apache.flink.table.data.RowData> parameters, List<RuntimeTableSemantics> tableSemantics, List<RuntimeStateInfo> stateInfos, ProcessTableRunner processTableRunner, HashFunction[] stateHashCode, RecordEqualiser[] stateEquals, RuntimeChangelogMode producedChangelogMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonEventTime(org.apache.flink.streaming.api.operators.InternalTimer<org.apache.flink.table.data.RowData,Object> timer)voidonProcessingTime(org.apache.flink.streaming.api.operators.InternalTimer<org.apache.flink.table.data.RowData,Object> timer)voidopen()voidprocessWatermark(org.apache.flink.streaming.api.watermark.Watermark mark)-
Methods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorV2
beforeInitializeStateHandler, close, finish, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getTimeServiceManager, getUserCodeClassloader, initializeState, initializeState, internalSetKeyContextElement, isAsyncKeyOrderedProcessingEnabled, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, prepareSnapshotPreBarrier, processRecordAttributes, processWatermarkStatus, reportOrForwardLatencyMarker, reportWatermark, setCurrentKey, setKeyContextElement1, setKeyContextElement2, snapshotState, snapshotState, useSplittableTimers
-
-
-
-
Field Detail
-
tableSemantics
protected final List<RuntimeTableSemantics> tableSemantics
-
processTableRunner
protected final ProcessTableRunner processTableRunner
-
-
Constructor Detail
-
AbstractProcessTableOperator
public AbstractProcessTableOperator(org.apache.flink.streaming.api.operators.StreamOperatorParameters<org.apache.flink.table.data.RowData> parameters, List<RuntimeTableSemantics> tableSemantics, List<RuntimeStateInfo> stateInfos, ProcessTableRunner processTableRunner, HashFunction[] stateHashCode, RecordEqualiser[] stateEquals, RuntimeChangelogMode producedChangelogMode)
-
-
Method Detail
-
open
public void open() throws Exception- Specified by:
openin interfaceorg.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.table.data.RowData>- Overrides:
openin classorg.apache.flink.streaming.api.operators.AbstractStreamOperatorV2<org.apache.flink.table.data.RowData>- Throws:
Exception
-
processWatermark
public void processWatermark(org.apache.flink.streaming.api.watermark.Watermark mark) throws Exception- Overrides:
processWatermarkin classorg.apache.flink.streaming.api.operators.AbstractStreamOperatorV2<org.apache.flink.table.data.RowData>- Throws:
Exception
-
onEventTime
public void onEventTime(org.apache.flink.streaming.api.operators.InternalTimer<org.apache.flink.table.data.RowData,Object> timer) throws Exception
-
-