public static class PrimitiveParDoSingleFactory.ParDoSingle<InputT,OutputT> extends org.apache.beam.runners.core.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>
ParDo
.name
Modifier and Type | Method and Description |
---|---|
protected PTransform<PCollection<? extends InputT>,PCollection<OutputT>> |
delegate() |
PCollection<OutputT> |
expand(PCollection<? extends InputT> input)
Override this method to specify how this
PTransform should be expanded on the given
InputT . |
java.util.Map<TupleTag<?>,PValue> |
getAdditionalInputs()
Returns all
PValues that are consumed as inputs to this PTransform that
are independent of the expansion of the InputT within PTransform.expand(PInput) . |
DoFn<InputT,OutputT> |
getFn() |
TupleTag<?> |
getMainOutputTag() |
java.util.List<PCollectionView<?>> |
getSideInputs() |
getName, populateDisplayData, validate
compose, compose, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, toString
public PCollection<OutputT> expand(PCollection<? extends InputT> input)
PTransform
PTransform
should be expanded on the given
InputT
.
NOTE: This method should not be called directly. Instead apply the PTransform
should
be applied to the InputT
using the apply
method.
Composite transforms, which are defined in terms of other transforms, should return the output of one of the composed transforms. Non-composite transforms, which do not apply any transforms internally, should return a new unbound output and register evaluators (via backend-specific registration methods).
expand
in class org.apache.beam.runners.core.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>
public TupleTag<?> getMainOutputTag()
public java.util.List<PCollectionView<?>> getSideInputs()
public java.util.Map<TupleTag<?>,PValue> getAdditionalInputs()
PTransform
PValues
that are consumed as inputs to this PTransform
that
are independent of the expansion of the InputT
within PTransform.expand(PInput)
.
For example, this can contain any side input consumed by this PTransform
.
getAdditionalInputs
in class org.apache.beam.runners.core.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>
protected PTransform<PCollection<? extends InputT>,PCollection<OutputT>> delegate()
delegate
in class org.apache.beam.runners.core.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>