@Internal public class SinkTransformationTranslator<InputT,CommT,WriterStateT,GlobalCommT> extends Object implements TransformationTranslator<Object,SinkTransformation<InputT,CommT,WriterStateT,GlobalCommT>>
TransformationTranslator for the SinkTransformation.TransformationTranslator.Context| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
SinkTransformationTranslator() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Integer> |
translateForBatch(SinkTransformation<InputT,CommT,WriterStateT,GlobalCommT> transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for BATCH-style execution. |
Collection<Integer> |
translateForStreaming(SinkTransformation<InputT,CommT,WriterStateT,GlobalCommT> transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for STREAMING-style execution. |
public Collection<Integer> translateForBatch(SinkTransformation<InputT,CommT,WriterStateT,GlobalCommT> transformation, TransformationTranslator.Context context)
TransformationTranslatorTransformation to its runtime implementation for BATCH-style execution.translateForBatch in interface TransformationTranslator<Object,SinkTransformation<InputT,CommT,WriterStateT,GlobalCommT>>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(SinkTransformation<InputT,CommT,WriterStateT,GlobalCommT> transformation, TransformationTranslator.Context context)
TransformationTranslatorTransformation to its runtime implementation for STREAMING-style execution.translateForStreaming in interface TransformationTranslator<Object,SinkTransformation<InputT,CommT,WriterStateT,GlobalCommT>>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–2020 The Apache Software Foundation. All rights reserved.