Class GlobalCommitterTransformationTranslator<CommT>
- java.lang.Object
-
- org.apache.flink.streaming.runtime.translators.GlobalCommitterTransformationTranslator<CommT>
-
- All Implemented Interfaces:
TransformationTranslator<Void,GlobalCommitterTransform<CommT>>
@Internal public class GlobalCommitterTransformationTranslator<CommT> extends Object implements TransformationTranslator<Void,GlobalCommitterTransform<CommT>>
ATransformationTranslatorfor theGlobalCommitterOperator. The main purpose is to detect whether we setGlobalCommitterOperator.commitOnInputor not.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.graph.TransformationTranslator
TransformationTranslator.Context
-
-
Constructor Summary
Constructors Constructor Description GlobalCommitterTransformationTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Integer>translateForBatch(GlobalCommitterTransform<CommT> transformation, TransformationTranslator.Context context)Translates a givenTransformationto its runtime implementation for BATCH-style execution.Collection<Integer>translateForStreaming(GlobalCommitterTransform<CommT> transformation, TransformationTranslator.Context context)Translates a givenTransformationto its runtime implementation for STREAMING-style execution.
-
-
-
Method Detail
-
translateForBatch
public Collection<Integer> translateForBatch(GlobalCommitterTransform<CommT> transformation, TransformationTranslator.Context context)
Description copied from interface:TransformationTranslatorTranslates a givenTransformationto its runtime implementation for BATCH-style execution.- Specified by:
translateForBatchin interfaceTransformationTranslator<Void,GlobalCommitterTransform<CommT>>- 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.
-
translateForStreaming
public Collection<Integer> translateForStreaming(GlobalCommitterTransform<CommT> transformation, TransformationTranslator.Context context)
Description copied from interface:TransformationTranslatorTranslates a givenTransformationto its runtime implementation for STREAMING-style execution.- Specified by:
translateForStreamingin interfaceTransformationTranslator<Void,GlobalCommitterTransform<CommT>>- 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.
-
-