OUT - The type of the elements that this source produces.@Internal public class SourceTransformationTranslator<OUT,SplitT extends org.apache.flink.api.connector.source.SourceSplit,EnumChkT> extends SimpleTransformationTranslator<OUT,SourceTransformation<OUT,SplitT,EnumChkT>>
TransformationTranslator for the SourceTransformation.TransformationTranslator.Context| Constructor and Description |
|---|
SourceTransformationTranslator() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Integer> |
translateForBatchInternal(SourceTransformation<OUT,SplitT,EnumChkT> transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for BATCH-style
execution. |
protected Collection<Integer> |
translateForStreamingInternal(SourceTransformation<OUT,SplitT,EnumChkT> transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for STREAMING-style
execution. |
translateForBatch, translateForStreamingprotected Collection<Integer> translateForBatchInternal(SourceTransformation<OUT,SplitT,EnumChkT> transformation, TransformationTranslator.Context context)
SimpleTransformationTranslatorTransformation to its runtime implementation for BATCH-style
execution.translateForBatchInternal in class SimpleTransformationTranslator<OUT,SourceTransformation<OUT,SplitT extends org.apache.flink.api.connector.source.SourceSplit,EnumChkT>>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(SourceTransformation<OUT,SplitT,EnumChkT> transformation, TransformationTranslator.Context context)
SimpleTransformationTranslatorTransformation to its runtime implementation for STREAMING-style
execution.translateForStreamingInternal in class SimpleTransformationTranslator<OUT,SourceTransformation<OUT,SplitT extends org.apache.flink.api.connector.source.SourceSplit,EnumChkT>>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–2021 The Apache Software Foundation. All rights reserved.