OUT
- The type of the output elements of the transformation being translated.T
- The type of transformation being translated.@Internal public interface TransformationTranslator<OUT,T extends Transformation<OUT>>
TransformationTranslator
is responsible for translating a given Transformation
to its runtime implementation depending on the execution mode.Modifier and Type | Interface and Description |
---|---|
static interface |
TransformationTranslator.Context
A context giving the necessary information for the translation of a given transformation.
|
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. |
Collection<Integer> |
translateForStreaming(T transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for STREAMING-style
execution. |
Collection<Integer> translateForBatch(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.Collection<Integer> translateForStreaming(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–2024 The Apache Software Foundation. All rights reserved.