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>BaseMultipleInputStreamOperatorto handle multiple inputs in table module.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<Integer,InputSpec>inputSpecMapprotected Deque<TableOperatorWrapper<?>>topologicalOrderingOperatorsall operator as topological ordering in this multiple input operator.
-
Constructor Summary
Constructors Constructor Description MultipleInputStreamOperatorBase(org.apache.flink.streaming.api.operators.StreamOperatorParameters<org.apache.flink.table.data.RowData> parameters, List<InputSpec> inputSpecs, List<TableOperatorWrapper<?>> headWrappers, TableOperatorWrapper<?> tailWrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()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>getInputs()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
getCurrentKey, getExecutionConfig, getInternalTimerService, getKeyedStateBackend, getKeyedStateStore, getMetricGroup, getOperatorConfig, getOperatorID, getOperatorName, getOperatorStateBackend, getOrCreateKeyedState, getPartitionedState, getPartitionedState, getProcessingTimeService, getRuntimeContext, getTimeServiceManager, getUserCodeClassloader, initializeState, initializeState, internalSetKeyContextElement, isUsingCustomRawKeyedState, notifyCheckpointAborted, notifyCheckpointComplete, prepareSnapshotPreBarrier, processRecordAttributes, processWatermark, processWatermarkStatus, reportOrForwardLatencyMarker, reportWatermark, setCurrentKey, setKeyContextElement1, setKeyContextElement2, snapshotState, snapshotState
-
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
-
-
-
-
Field Detail
-
topologicalOrderingOperators
protected final Deque<TableOperatorWrapper<?>> topologicalOrderingOperators
all operator as topological ordering in this multiple input operator.
-
-
Constructor Detail
-
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 Detail
-
getInputs
public List<org.apache.flink.streaming.api.operators.Input> getInputs()
- Specified by:
getInputsin interfaceorg.apache.flink.streaming.api.operators.MultipleInputStreamOperator<org.apache.flink.table.data.RowData>
-
open
public void open() throws ExceptionOpen 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
public void finish() throws ExceptionFinish 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
public void close() throws ExceptionCloses 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)
-
-