Class TimestampsAndWatermarksTransformationTranslator<IN>
- java.lang.Object
-
- org.apache.flink.streaming.api.graph.SimpleTransformationTranslator<OUT,OP>
-
- org.apache.flink.streaming.runtime.translators.TimestampsAndWatermarksTransformationTranslator<IN>
-
- Type Parameters:
IN- The type of the elements in the inputTransformationof the transformation to translate.
- All Implemented Interfaces:
TransformationTranslator<IN,TimestampsAndWatermarksTransformation<IN>>
@Internal public class TimestampsAndWatermarksTransformationTranslator<IN> extends SimpleTransformationTranslator<OUT,OP>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.graph.TransformationTranslator
TransformationTranslator.Context
-
-
Constructor Summary
Constructors Constructor Description TimestampsAndWatermarksTransformationTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<Integer>translateForBatchInternal(TimestampsAndWatermarksTransformation<IN> transformation, TransformationTranslator.Context context)Translates a givenTransformationto its runtime implementation for BATCH-style execution.protected Collection<Integer>translateForStreamingInternal(TimestampsAndWatermarksTransformation<IN> transformation, TransformationTranslator.Context context)Translates a givenTransformationto its runtime implementation for STREAMING-style execution.protected Collection<Integer>translateInternal(org.apache.flink.api.dag.Transformation<OUT> transformation, StreamOperatorFactory<OUT> operatorFactory, org.apache.flink.api.common.typeinfo.TypeInformation<IN> inputType, org.apache.flink.api.java.functions.KeySelector<IN,?> stateKeySelector, org.apache.flink.api.common.typeinfo.TypeInformation<?> stateKeyType, TransformationTranslator.Context context)-
Methods inherited from class org.apache.flink.streaming.api.graph.SimpleTransformationTranslator
translateForBatch, translateForStreaming
-
-
-
-
Method Detail
-
translateForBatchInternal
protected Collection<Integer> translateForBatchInternal(TimestampsAndWatermarksTransformation<IN> transformation, TransformationTranslator.Context context)
Description copied from class:SimpleTransformationTranslatorTranslates a givenTransformationto its runtime implementation for BATCH-style execution.- Specified by:
translateForBatchInternalin classSimpleTransformationTranslator<IN,TimestampsAndWatermarksTransformation<IN>>- 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(TimestampsAndWatermarksTransformation<IN> transformation, TransformationTranslator.Context context)
Description copied from class:SimpleTransformationTranslatorTranslates a givenTransformationto its runtime implementation for STREAMING-style execution.- Specified by:
translateForStreamingInternalin classSimpleTransformationTranslator<IN,TimestampsAndWatermarksTransformation<IN>>- 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.
-
translateInternal
protected Collection<Integer> translateInternal(org.apache.flink.api.dag.Transformation<OUT> transformation, StreamOperatorFactory<OUT> operatorFactory, org.apache.flink.api.common.typeinfo.TypeInformation<IN> inputType, @Nullable org.apache.flink.api.java.functions.KeySelector<IN,?> stateKeySelector, @Nullable org.apache.flink.api.common.typeinfo.TypeInformation<?> stateKeyType, TransformationTranslator.Context context)
-
-