Class ParDo.SingleOutput<InputT,OutputT>

java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<? extends InputT>,PCollection<OutputT>>
org.apache.beam.sdk.transforms.ParDo.SingleOutput<InputT,OutputT>
Type Parameters:
InputT - the type of the (main) input PCollection elements
OutputT - the type of the (main) output PCollection elements
All Implemented Interfaces:
Serializable, HasDisplayData
Enclosing class:
ParDo

public static class ParDo.SingleOutput<InputT,OutputT> extends PTransform<PCollection<? extends InputT>,PCollection<OutputT>>
A PTransform that, when applied to a PCollection<InputT>, invokes a user-specified DoFn<InputT, OutputT> on all its elements, with all its outputs collected into an output PCollection<OutputT>.

A multi-output form of this transform can be created with withOutputTags(org.apache.beam.sdk.values.TupleTag<OutputT>, org.apache.beam.sdk.values.TupleTagList).

See Also: