Class MultiInputTransformationTranslator<OUT>
java.lang.Object
org.apache.flink.streaming.api.graph.SimpleTransformationTranslator<OUT,AbstractMultipleInputTransformation<OUT>>
org.apache.flink.streaming.runtime.translators.MultiInputTransformationTranslator<OUT>
- Type Parameters:
OUT- The type of the elements that result from thisMultipleInputTransformation
- All Implemented Interfaces:
TransformationTranslator<OUT,AbstractMultipleInputTransformation<OUT>>
@Internal
public class MultiInputTransformationTranslator<OUT>
extends SimpleTransformationTranslator<OUT,AbstractMultipleInputTransformation<OUT>>
A
TransformationTranslator for the MultipleInputTransformation and the KeyedMultipleInputTransformation.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.graph.TransformationTranslator
TransformationTranslator.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<Integer>translateForBatchInternal(AbstractMultipleInputTransformation<OUT> transformation, TransformationTranslator.Context context) Translates a givenTransformationto its runtime implementation for BATCH-style execution.protected Collection<Integer>translateForStreamingInternal(AbstractMultipleInputTransformation<OUT> transformation, TransformationTranslator.Context context) Translates a givenTransformationto its runtime implementation for STREAMING-style execution.Methods inherited from class org.apache.flink.streaming.api.graph.SimpleTransformationTranslator
translateForBatch, translateForStreaming
-
Constructor Details
-
MultiInputTransformationTranslator
public MultiInputTransformationTranslator()
-
-
Method Details
-
translateForBatchInternal
protected Collection<Integer> translateForBatchInternal(AbstractMultipleInputTransformation<OUT> transformation, TransformationTranslator.Context context) Description copied from class:SimpleTransformationTranslatorTranslates a givenTransformationto its runtime implementation for BATCH-style execution.- Specified by:
translateForBatchInternalin classSimpleTransformationTranslator<OUT,AbstractMultipleInputTransformation<OUT>> - Parameters:
transformation- The transformation to be translated.context- The translation context.- Returns:
- The ids of the "last"
StreamNodesin the transformation graph corresponding to this transformation. These will be the nodes that a potential following transformation will need to connect to.
-
translateForStreamingInternal
protected Collection<Integer> translateForStreamingInternal(AbstractMultipleInputTransformation<OUT> transformation, TransformationTranslator.Context context) Description copied from class:SimpleTransformationTranslatorTranslates a givenTransformationto its runtime implementation for STREAMING-style execution.- Specified by:
translateForStreamingInternalin classSimpleTransformationTranslator<OUT,AbstractMultipleInputTransformation<OUT>> - Parameters:
transformation- The transformation to be translated.context- The translation context.- Returns:
- The ids of the "last"
StreamNodesin the transformation graph corresponding to this transformation. These will be the nodes that a potential following transformation will need to connect to.
-