IN1
- The type of the elements in the non-broadcasted input of the KeyedBroadcastStateTransformation
.IN2
- The type of the elements in the broadcasted input of the KeyedBroadcastStateTransformation
.OUT
- The type of the elements that result from the KeyedBroadcastStateTransformation
.@Internal public class KeyedBroadcastStateTransformationTranslator<KEY,IN1,IN2,OUT> extends AbstractTwoInputTransformationTranslator<IN1,IN2,OUT,KeyedBroadcastStateTransformation<KEY,IN1,IN2,OUT>>
TransformationTranslator.Context
Constructor and Description |
---|
KeyedBroadcastStateTransformationTranslator() |
Modifier and Type | Method and Description |
---|---|
protected Collection<Integer> |
translateForBatchInternal(KeyedBroadcastStateTransformation<KEY,IN1,IN2,OUT> transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for BATCH-style
execution. |
protected Collection<Integer> |
translateForStreamingInternal(KeyedBroadcastStateTransformation<KEY,IN1,IN2,OUT> transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for STREAMING-style
execution. |
translateInternal
translateForBatch, translateForStreaming
public KeyedBroadcastStateTransformationTranslator()
protected Collection<Integer> translateForBatchInternal(KeyedBroadcastStateTransformation<KEY,IN1,IN2,OUT> transformation, TransformationTranslator.Context context)
SimpleTransformationTranslator
Transformation
to its runtime implementation for BATCH-style
execution.translateForBatchInternal
in class SimpleTransformationTranslator<OUT,KeyedBroadcastStateTransformation<KEY,IN1,IN2,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 Collection<Integer> translateForStreamingInternal(KeyedBroadcastStateTransformation<KEY,IN1,IN2,OUT> transformation, TransformationTranslator.Context context)
SimpleTransformationTranslator
Transformation
to its runtime implementation for STREAMING-style
execution.translateForStreamingInternal
in class SimpleTransformationTranslator<OUT,KeyedBroadcastStateTransformation<KEY,IN1,IN2,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.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.