Class ProcessRowTableOperator
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.AbstractStreamOperatorV2<org.apache.flink.table.data.RowData>
-
- org.apache.flink.table.runtime.operators.process.AbstractProcessTableOperator
-
- org.apache.flink.table.runtime.operators.process.ProcessRowTableOperator
-
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.state.CheckpointListener,org.apache.flink.streaming.api.operators.Input<org.apache.flink.table.data.RowData>,org.apache.flink.streaming.api.operators.KeyContext,org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>,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>
public class ProcessRowTableOperator extends AbstractProcessTableOperator implements org.apache.flink.streaming.api.operators.OneInputStreamOperator<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>
Implementation ofOneInputStreamOperatorforProcessTableFunctionwith at most one table with row semantics.This class is required because
MultipleInputStreamOperatorhas issues with chaining when the transformation is not keyed.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.table.runtime.operators.process.AbstractProcessTableOperator
AbstractProcessTableOperator.RunnerContext, AbstractProcessTableOperator.RunnerOnTimerContext
-
-
Field Summary
-
Fields inherited from class org.apache.flink.table.runtime.operators.process.AbstractProcessTableOperator
processTableRunner, tableSemantics
-
-
Constructor Summary
Constructors Constructor Description ProcessRowTableOperator(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 voidprocessElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData> element)voidprocessLatencyMarker(org.apache.flink.streaming.runtime.streamrecord.LatencyMarker latencyMarker)voidprocessWatermarkStatus(org.apache.flink.streaming.runtime.watermarkstatus.WatermarkStatus watermarkStatus)voidsetKeyContextElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<?> record)-
Methods inherited from class org.apache.flink.table.runtime.operators.process.AbstractProcessTableOperator
onEventTime, onProcessingTime, open, processWatermark
-
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, setKeyContextElement2, snapshotState, snapshotState, useSplittableTimers
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.api.common.state.CheckpointListener
notifyCheckpointAborted, notifyCheckpointComplete
-
Methods inherited from interface org.apache.flink.streaming.api.operators.Input
processRecordAttributes, processWatermark, processWatermark
-
Methods inherited from interface org.apache.flink.streaming.api.operators.KeyContext
getCurrentKey, setCurrentKey
-
-
-
-
Constructor Detail
-
ProcessRowTableOperator
public ProcessRowTableOperator(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
-
setKeyContextElement1
public void setKeyContextElement1(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<?> record)
- Specified by:
setKeyContextElement1in interfaceorg.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.table.data.RowData>- Overrides:
setKeyContextElement1in classorg.apache.flink.streaming.api.operators.AbstractStreamOperatorV2<org.apache.flink.table.data.RowData>
-
processElement
public void processElement(org.apache.flink.streaming.runtime.streamrecord.StreamRecord<org.apache.flink.table.data.RowData> element) throws Exception- Specified by:
processElementin interfaceorg.apache.flink.streaming.api.operators.Input<org.apache.flink.table.data.RowData>- Throws:
Exception
-
processWatermarkStatus
public void processWatermarkStatus(org.apache.flink.streaming.runtime.watermarkstatus.WatermarkStatus watermarkStatus) throws Exception- Specified by:
processWatermarkStatusin interfaceorg.apache.flink.streaming.api.operators.Input<org.apache.flink.table.data.RowData>- Throws:
Exception
-
-