Class SinkTransformationTranslator<Input,Output>
- java.lang.Object
-
- org.apache.flink.streaming.runtime.translators.SinkTransformationTranslator<Input,Output>
-
- All Implemented Interfaces:
TransformationTranslator<Output,SinkTransformation<Input,Output>>
@Internal public class SinkTransformationTranslator<Input,Output> extends Object implements TransformationTranslator<Output,SinkTransformation<Input,Output>>
ATransformationTranslatorfor theSinkTransformation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.graph.TransformationTranslator
TransformationTranslator.Context
-
-
Constructor Summary
Constructors Constructor Description SinkTransformationTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Integer>translateForBatch(SinkTransformation<Input,Output> transformation, TransformationTranslator.Context context)Translates a givenTransformationto its runtime implementation for BATCH-style execution.Collection<Integer>translateForStreaming(SinkTransformation<Input,Output> transformation, TransformationTranslator.Context context)Translates a givenTransformationto its runtime implementation for STREAMING-style execution.
-
-
-
Method Detail
-
translateForBatch
public Collection<Integer> translateForBatch(SinkTransformation<Input,Output> transformation, TransformationTranslator.Context context)
Description copied from interface:TransformationTranslatorTranslates a givenTransformationto its runtime implementation for BATCH-style execution.- Specified by:
translateForBatchin interfaceTransformationTranslator<Input,Output>- 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(SinkTransformation<Input,Output> transformation, TransformationTranslator.Context context)
Description copied from interface:TransformationTranslatorTranslates a givenTransformationto its runtime implementation for STREAMING-style execution.- Specified by:
translateForStreamingin interfaceTransformationTranslator<Input,Output>- 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.
-
-