Package org.apache.beam.runners.dataflow
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:
-
Field Summary
Fields inherited from class org.apache.beam.sdk.transforms.PTransform
annotations, displayData, name, resourceHints -
Method Summary
Modifier and TypeMethodDescriptionprotected PTransform<PCollection<? extends InputT>, PCollection<OutputT>> delegate()expand(PCollection<? extends InputT> input) Override this method to specify how thisPTransformshould be expanded on the givenInputT.Returns allPValuesthat are consumed as inputs to thisPTransformthat are independent of the expansion of thePTransformwithinPTransform.expand(PInput).getFn()TupleTag<?> Map<String, PCollectionView<?>> Methods inherited from class org.apache.beam.sdk.util.construction.ForwardingPTransform
getName, populateDisplayData, validateMethods inherited from class org.apache.beam.sdk.transforms.PTransform
addAnnotation, compose, compose, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getResourceHints, setDisplayData, setResourceHints, toString, validate
-
Method Details
-
expand
Description copied from class:PTransformOverride this method to specify how thisPTransformshould be expanded on the givenInputT.NOTE: This method should not be called directly. Instead apply the
PTransformshould be applied to theInputTusing theapplymethod.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:
expandin classorg.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>
-
getFn
-
getMainOutputTag
-
getSideInputs
-
getAdditionalInputs
Description copied from class:PTransformReturns allPValuesthat are consumed as inputs to thisPTransformthat are independent of the expansion of thePTransformwithinPTransform.expand(PInput).For example, this can contain any side input consumed by this
PTransform.- Overrides:
getAdditionalInputsin classorg.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>
-
delegate
- Specified by:
delegatein classorg.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,PCollection<OutputT>>
-