OUT - The type of the output elements of the transformation being translated.T - The type of transformation being translated.@Internal public abstract class SimpleTransformationTranslator<OUT,T extends org.apache.flink.api.dag.Transformation<OUT>> extends Object implements TransformationTranslator<OUT,T>
TransformationTranslators who translate
Transformations that have a single operator in their runtime
implementation. These include most of the currently supported operations.TransformationTranslator.Context| Constructor and Description |
|---|
SimpleTransformationTranslator() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Integer> |
translateForBatch(T transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for BATCH-style
execution. |
protected abstract Collection<Integer> |
translateForBatchInternal(T transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for BATCH-style
execution. |
Collection<Integer> |
translateForStreaming(T transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for STREAMING-style
execution. |
protected abstract Collection<Integer> |
translateForStreamingInternal(T transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for STREAMING-style
execution. |
public final Collection<Integer> translateForBatch(T transformation, TransformationTranslator.Context context)
TransformationTranslatorTransformation to its runtime implementation for BATCH-style
execution.translateForBatch in interface TransformationTranslator<OUT,T extends org.apache.flink.api.dag.Transformation<OUT>>transformation - The transformation to be translated.context - The translation context.StreamNodes in the transformation graph
corresponding to this transformation. These will be the nodes that a potential following
transformation will need to connect to.public final Collection<Integer> translateForStreaming(T transformation, TransformationTranslator.Context context)
TransformationTranslatorTransformation to its runtime implementation for STREAMING-style
execution.translateForStreaming in interface TransformationTranslator<OUT,T extends org.apache.flink.api.dag.Transformation<OUT>>transformation - The transformation to be translated.context - The translation context.StreamNodes in the transformation graph
corresponding to this transformation. These will be the nodes that a potential following
transformation will need to connect to.protected abstract Collection<Integer> translateForBatchInternal(T transformation, TransformationTranslator.Context context)
Transformation to its runtime implementation for BATCH-style
execution.transformation - The transformation to be translated.context - The translation context.StreamNodes in the transformation graph
corresponding to this transformation. These will be the nodes that a potential following
transformation will need to connect to.protected abstract Collection<Integer> translateForStreamingInternal(T transformation, TransformationTranslator.Context context)
Transformation to its runtime implementation for STREAMING-style
execution.transformation - The transformation to be translated.context - The translation context.StreamNodes in the transformation graph
corresponding to this transformation. These will be the nodes that a potential following
transformation will need to connect to.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.