Class MultipleInputStreamOperatorBase
java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperatorV2<org.apache.flink.table.data.RowData>
org.apache.flink.table.runtime.operators.multipleinput.MultipleInputStreamOperatorBase
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.state.CheckpointListener,org.apache.flink.streaming.api.operators.KeyContext,org.apache.flink.streaming.api.operators.MultipleInputStreamOperator<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
- Direct Known Subclasses:
BatchMultipleInputStreamOperator
public abstract class MultipleInputStreamOperatorBase
extends org.apache.flink.streaming.api.operators.AbstractStreamOperatorV2<org.apache.flink.table.data.RowData>
implements org.apache.flink.streaming.api.operators.MultipleInputStreamOperator<org.apache.flink.table.data.RowData>
Base
MultipleInputStreamOperator to handle multiple inputs in table module.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Deque<TableOperatorWrapper<?>>all operator as topological ordering in this multiple input operator.Fields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorV2
combinedWatermark, config, lastRecordAttributes, latencyStats, LOG, metrics, output, processingTimeService, stateHandler, timeServiceManager -
Constructor Summary
ConstructorsConstructorDescriptionMultipleInputStreamOperatorBase(org.apache.flink.streaming.api.operators.StreamOperatorParameters<org.apache.flink.table.data.RowData> parameters, List<InputSpec> inputSpecs, List<TableOperatorWrapper<?>> headWrappers, TableOperatorWrapper<?> tailWrapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes all sub-operators in a multiple input operator effect way.protected org.apache.flink.streaming.api.graph.StreamConfigcreateStreamConfig(org.apache.flink.streaming.api.operators.StreamOperatorParameters<org.apache.flink.table.data.RowData> multipleInputOperatorParameters, TableOperatorWrapper<?> wrapper) voidfinish()Finish all sub-operators in a multiple input operator effect way.List<org.apache.flink.streaming.api.operators.Input>voidopen()Open all sub-operators in a multiple input operator from tail to head, contrary toStreamOperator.close()which happens head to tail (seeclose()).Methods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorV2
beforeInitializeStateHandler, getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getTimeServiceManager, getUserCodeClassloader, initializeState, initializeState, internalSetKeyContextElement, isAsyncStateProcessingEnabled, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, prepareSnapshotPreBarrier, processRecordAttributes, processWatermark, processWatermarkStatus, reportOrForwardLatencyMarker, reportWatermark, setCurrentKey, setKeyContextElement1, setKeyContextElement2, snapshotState, snapshotState, useSplittableTimersMethods 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.KeyContext
getCurrentKey, setCurrentKeyMethods inherited from interface org.apache.flink.streaming.api.operators.StreamOperator
getMetricGroup, getOperatorAttributes, getOperatorID, initializeState, prepareSnapshotPreBarrier, setKeyContextElement1, setKeyContextElement2, snapshotState
-
Field Details
-
inputSpecMap
-
topologicalOrderingOperators
all operator as topological ordering in this multiple input operator.
-
-
Constructor Details
-
MultipleInputStreamOperatorBase
public MultipleInputStreamOperatorBase(org.apache.flink.streaming.api.operators.StreamOperatorParameters<org.apache.flink.table.data.RowData> parameters, List<InputSpec> inputSpecs, List<TableOperatorWrapper<?>> headWrappers, TableOperatorWrapper<?> tailWrapper)
-
-
Method Details
-
getInputs
- Specified by:
getInputsin interfaceorg.apache.flink.streaming.api.operators.MultipleInputStreamOperator<org.apache.flink.table.data.RowData>
-
open
Open all sub-operators in a multiple input operator from tail to head, contrary toStreamOperator.close()which happens head to tail (seeclose()).- 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
-
finish
Finish all sub-operators in a multiple input operator effect way. Finishing happens from head to tail sub-operator in a multiple input operator, contrary toStreamOperator.open()which happens tail to head.- Specified by:
finishin interfaceorg.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.table.data.RowData>- Overrides:
finishin classorg.apache.flink.streaming.api.operators.AbstractStreamOperatorV2<org.apache.flink.table.data.RowData>- Throws:
Exception
-
close
Closes all sub-operators in a multiple input operator effect way. Closing happens from head to tail sub-operator in a multiple input operator, contrary toStreamOperator.open()which happens tail to head.- Specified by:
closein interfaceorg.apache.flink.streaming.api.operators.StreamOperator<org.apache.flink.table.data.RowData>- Overrides:
closein classorg.apache.flink.streaming.api.operators.AbstractStreamOperatorV2<org.apache.flink.table.data.RowData>- Throws:
Exception
-
createStreamConfig
protected org.apache.flink.streaming.api.graph.StreamConfig createStreamConfig(org.apache.flink.streaming.api.operators.StreamOperatorParameters<org.apache.flink.table.data.RowData> multipleInputOperatorParameters, TableOperatorWrapper<?> wrapper)
-