@Internal public class CacheTransformationTranslator<OUT,T extends CacheTransformation<OUT>> extends SimpleTransformationTranslator<OUT,T>
CacheTransformationTranslator.| 限定符和类型 | 类和说明 |
|---|---|
static class |
CacheTransformationTranslator.IdentityStreamOperator<T>
The
CacheTransformationTranslator.IdentityStreamOperator acts as a dummy source to consume cached intermediate
dataset. |
static class |
CacheTransformationTranslator.NoOpStreamOperator<T>
The
CacheTransformationTranslator.NoOpStreamOperator acts as a dummy sink so that the upstream can produce the
intermediate dataset to be cached. |
TransformationTranslator.Context| 限定符和类型 | 字段和说明 |
|---|---|
static String |
CACHE_CONSUMER_OPERATOR_NAME |
static String |
CACHE_PRODUCER_OPERATOR_NAME |
| 构造器和说明 |
|---|
CacheTransformationTranslator() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Collection<Integer> |
translateForBatchInternal(T transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for BATCH-style
execution. |
protected Collection<Integer> |
translateForStreamingInternal(T transformation,
TransformationTranslator.Context context)
Translates a given
Transformation to its runtime implementation for STREAMING-style
execution. |
translateForBatch, translateForStreamingprotected Collection<Integer> translateForBatchInternal(T transformation, TransformationTranslator.Context context)
SimpleTransformationTranslatorTransformation to its runtime implementation for BATCH-style
execution.translateForBatchInternal 在类中 SimpleTransformationTranslator<OUT,T extends CacheTransformation<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(T transformation, TransformationTranslator.Context context)
SimpleTransformationTranslatorTransformation to its runtime implementation for STREAMING-style
execution.translateForStreamingInternal 在类中 SimpleTransformationTranslator<OUT,T extends CacheTransformation<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–2022 The Apache Software Foundation. All rights reserved.