public class PipelineTranslatorBatch extends PipelineTranslator
PipelineTranslator
for executing a Pipeline
in Spark in batch mode. This contains
only the components specific to batch: registry of batch TransformTranslator
and registry
lookup code.Pipeline.PipelineVisitor.CompositeBehavior, Pipeline.PipelineVisitor.Defaults
translationContext
Constructor and Description |
---|
PipelineTranslatorBatch(SparkStructuredStreamingPipelineOptions options) |
Modifier and Type | Method and Description |
---|---|
protected <InT extends PInput,OutT extends POutput,TransformT extends PTransform<InT,OutT>> |
getTransformTranslator(TransformT transform)
Returns a translator for the given node, if it is possible, otherwise null.
|
detectTranslationMode, enterCompositeTransform, getTranslationContext, replaceTransforms, translate, visitPrimitiveTransform
enterPipeline, getPipeline, leaveCompositeTransform, leavePipeline, visitValue
public PipelineTranslatorBatch(SparkStructuredStreamingPipelineOptions options)
protected <InT extends PInput,OutT extends POutput,TransformT extends PTransform<InT,OutT>> @Nullable TransformTranslator<InT,OutT,TransformT> getTransformTranslator(TransformT transform)
getTransformTranslator
in class PipelineTranslator