@Internal public class PythonKeyedBroadcastStateTransformationTranslator<OUT> extends AbstractTwoInputTransformationTranslator<Row,Row,OUT,PythonKeyedBroadcastStateTransformation<OUT>>
TransformationTranslator
that translates PythonKeyedBroadcastStateTransformation
into ExternalPythonKeyedCoProcessOperator
/EmbeddedPythonKeyedCoProcessOperator
in streaming mode or ExternalPythonBatchKeyedCoBroadcastProcessOperator
/EmbeddedPythonBatchKeyedCoBroadcastProcessOperator
in batch mode.TransformationTranslator.Context
Constructor and Description |
---|
PythonKeyedBroadcastStateTransformationTranslator() |
Modifier and Type | Method and Description |
---|---|
protected Collection<Integer> |
translateForBatchInternal(PythonKeyedBroadcastStateTransformation<OUT> transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for BATCH-style
execution. |
protected Collection<Integer> |
translateForStreamingInternal(PythonKeyedBroadcastStateTransformation<OUT> transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for STREAMING-style
execution. |
translateInternal
translateForBatch, translateForStreaming
public PythonKeyedBroadcastStateTransformationTranslator()
protected Collection<Integer> translateForBatchInternal(PythonKeyedBroadcastStateTransformation<OUT> transformation, TransformationTranslator.Context context)
SimpleTransformationTranslator
Transformation
to its runtime implementation for BATCH-style
execution.translateForBatchInternal
in class SimpleTransformationTranslator<OUT,PythonKeyedBroadcastStateTransformation<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(PythonKeyedBroadcastStateTransformation<OUT> transformation, TransformationTranslator.Context context)
SimpleTransformationTranslator
Transformation
to its runtime implementation for STREAMING-style
execution.translateForStreamingInternal
in class SimpleTransformationTranslator<OUT,PythonKeyedBroadcastStateTransformation<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.