Class KeyedBroadcastStateTransformationTranslator<KEY,IN1,IN2,OUT>
java.lang.Object
org.apache.flink.streaming.api.graph.SimpleTransformationTranslator<OUT,OP>
org.apache.flink.streaming.runtime.translators.AbstractTwoInputTransformationTranslator<IN1,IN2,OUT,KeyedBroadcastStateTransformation<KEY,IN1,IN2,OUT>>
org.apache.flink.streaming.runtime.translators.KeyedBroadcastStateTransformationTranslator<KEY,IN1,IN2,OUT>
- Type Parameters:
IN1- The type of the elements in the non-broadcasted input of theKeyedBroadcastStateTransformation.IN2- The type of the elements in the broadcasted input of theKeyedBroadcastStateTransformation.OUT- The type of the elements that result from theKeyedBroadcastStateTransformation.
- All Implemented Interfaces:
TransformationTranslator<OUT,KeyedBroadcastStateTransformation<KEY, IN1, IN2, OUT>>
@Internal
public class KeyedBroadcastStateTransformationTranslator<KEY,IN1,IN2,OUT>
extends AbstractTwoInputTransformationTranslator<IN1,IN2,OUT,KeyedBroadcastStateTransformation<KEY,IN1,IN2,OUT>>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.streaming.api.graph.TransformationTranslator
TransformationTranslator.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<Integer>translateForBatchInternal(KeyedBroadcastStateTransformation<KEY, IN1, IN2, OUT> transformation, TransformationTranslator.Context context) Translates a givenTransformationto its runtime implementation for BATCH-style execution.protected Collection<Integer>translateForStreamingInternal(KeyedBroadcastStateTransformation<KEY, IN1, IN2, OUT> transformation, TransformationTranslator.Context context) Translates a givenTransformationto its runtime implementation for STREAMING-style execution.Methods inherited from class org.apache.flink.streaming.runtime.translators.AbstractTwoInputTransformationTranslator
translateInternalMethods inherited from class org.apache.flink.streaming.api.graph.SimpleTransformationTranslator
translateForBatch, translateForStreaming
-
Constructor Details
-
KeyedBroadcastStateTransformationTranslator
public KeyedBroadcastStateTransformationTranslator()
-
-
Method Details
-
translateForBatchInternal
protected Collection<Integer> translateForBatchInternal(KeyedBroadcastStateTransformation<KEY, IN1, IN2, OUT> transformation, TransformationTranslator.Context context) Description copied from class:SimpleTransformationTranslatorTranslates a givenTransformationto its runtime implementation for BATCH-style execution.- Specified by:
translateForBatchInternalin classSimpleTransformationTranslator<OUT,KeyedBroadcastStateTransformation<KEY, IN1, IN2, OUT>> - 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(KeyedBroadcastStateTransformation<KEY, IN1, IN2, OUT> transformation, TransformationTranslator.Context context) Description copied from class:SimpleTransformationTranslatorTranslates a givenTransformationto its runtime implementation for STREAMING-style execution.- Specified by:
translateForStreamingInternalin classSimpleTransformationTranslator<OUT,KeyedBroadcastStateTransformation<KEY, IN1, IN2, OUT>> - 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.
-