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>>
A
TransformationTranslator for the SinkTransformation.-
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 TypeMethodDescriptiontranslateForBatch(SinkTransformation<Input, Output> transformation, TransformationTranslator.Context context) Translates a givenTransformationto its runtime implementation for BATCH-style execution.translateForStreaming(SinkTransformation<Input, Output> transformation, TransformationTranslator.Context context) Translates a givenTransformationto its runtime implementation for STREAMING-style execution.
-
Constructor Details
-
SinkTransformationTranslator
public SinkTransformationTranslator()
-
-
Method Details
-
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.
-