Class PrimitiveParDoSingleFactory.ParDoSingle<InputT,OutputT>

java.lang.Object
org.apache.beam.sdk.transforms.PTransform<PCollection<? extends InputT>,PCollection<OutputT>>
org.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>
org.apache.beam.runners.dataflow.PrimitiveParDoSingleFactory.ParDoSingle<InputT,OutputT>
All Implemented Interfaces:
Serializable, HasDisplayData
Enclosing class:
PrimitiveParDoSingleFactory<InputT,OutputT>

public static class PrimitiveParDoSingleFactory.ParDoSingle<InputT,OutputT> extends org.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>
A single-output primitive ParDo.
See Also:
  • Method Details

    • expand

      public PCollection<OutputT> expand(PCollection<? extends InputT> input)
      Description copied from class: PTransform
      Override this method to specify how this 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).

      Overrides:
      expand in class org.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>
    • getFn

      public DoFn<InputT,OutputT> getFn()
    • getMainOutputTag

      public TupleTag<?> getMainOutputTag()
    • getSideInputs

      public Map<String,PCollectionView<?>> getSideInputs()
    • getAdditionalInputs

      public Map<TupleTag<?>,PValue> getAdditionalInputs()
      Description copied from class: PTransform
      Returns all PValues that are consumed as inputs to this PTransform that are independent of the expansion of the PTransform within PTransform.expand(PInput).

      For example, this can contain any side input consumed by this PTransform.

      Overrides:
      getAdditionalInputs in class org.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>
    • delegate

      protected PTransform<PCollection<? extends InputT>,PCollection<OutputT>> delegate()
      Specified by:
      delegate in class org.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>