@Internal public class GlobalCommitterTransformationTranslator<CommT> extends Object implements TransformationTranslator<Void,GlobalCommitterTransform<CommT>>
TransformationTranslator for the GlobalCommitterOperator. The main purpose is
to detect whether we set GlobalCommitterOperator.commitOnInput or not.TransformationTranslator.Context| Constructor and Description |
|---|
GlobalCommitterTransformationTranslator() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Integer> |
translateForBatch(GlobalCommitterTransform<CommT> transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for BATCH-style
execution. |
Collection<Integer> |
translateForStreaming(GlobalCommitterTransform<CommT> transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for STREAMING-style
execution. |
public GlobalCommitterTransformationTranslator()
public Collection<Integer> translateForBatch(GlobalCommitterTransform<CommT> transformation, TransformationTranslator.Context context)
TransformationTranslatorTransformation to its runtime implementation for BATCH-style
execution.translateForBatch in interface TransformationTranslator<Void,GlobalCommitterTransform<CommT>>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 Collection<Integer> translateForStreaming(GlobalCommitterTransform<CommT> transformation, TransformationTranslator.Context context)
TransformationTranslatorTransformation to its runtime implementation for STREAMING-style
execution.translateForStreaming in interface TransformationTranslator<Void,GlobalCommitterTransform<CommT>>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.