public class PrimitiveParDoSingleFactory<InputT,OutputT> extends org.apache.beam.runners.core.construction.SingleInputOutputOverrideFactory<PCollection<? extends InputT>,PCollection<OutputT>,ParDo.SingleOutput<InputT,OutputT>>
PTransformOverrideFactory
that produces PrimitiveParDoSingleFactory.ParDoSingle
instances from ParDo.SingleOutput
instances. PrimitiveParDoSingleFactory.ParDoSingle
is a primitive PTransform
, to ensure
that RunnerApi.DisplayData
appears on all ParDos
in the DataflowRunner
.Modifier and Type | Class and Description |
---|---|
static class |
PrimitiveParDoSingleFactory.ParDoSingle<InputT,OutputT>
A single-output primitive
ParDo . |
static class |
PrimitiveParDoSingleFactory.PayloadTranslator
A translator for
PrimitiveParDoSingleFactory.ParDoSingle . |
static class |
PrimitiveParDoSingleFactory.Registrar
|
org.apache.beam.sdk.runners.PTransformOverrideFactory.PTransformReplacement<InputT extends PInput,OutputT extends POutput>, org.apache.beam.sdk.runners.PTransformOverrideFactory.ReplacementOutput
Constructor and Description |
---|
PrimitiveParDoSingleFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.sdk.runners.PTransformOverrideFactory.PTransformReplacement<PCollection<? extends InputT>,PCollection<OutputT>> |
getReplacementTransform(org.apache.beam.sdk.runners.AppliedPTransform<PCollection<? extends InputT>,PCollection<OutputT>,ParDo.SingleOutput<InputT,OutputT>> transform) |
public org.apache.beam.sdk.runners.PTransformOverrideFactory.PTransformReplacement<PCollection<? extends InputT>,PCollection<OutputT>> getReplacementTransform(org.apache.beam.sdk.runners.AppliedPTransform<PCollection<? extends InputT>,PCollection<OutputT>,ParDo.SingleOutput<InputT,OutputT>> transform)