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 thisPTransform
should be expanded on the givenInputT
.Returns allPValues
that are consumed as inputs to thisPTransform
that are independent of the expansion of thePTransform
withinPTransform.expand(PInput)
.getFn()
TupleTag
<?> Map
<String, PCollectionView<?>> Methods inherited from class org.apache.beam.sdk.util.construction.ForwardingPTransform
getName, populateDisplayData, validate
Methods 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:PTransform
Override this method to specify how thisPTransform
should be expanded on the givenInputT
.NOTE: This method should not be called directly. Instead apply the
PTransform
should be applied to theInputT
using theapply
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 classorg.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,
PCollection<OutputT>>
-
getFn
-
getMainOutputTag
-
getSideInputs
-
getAdditionalInputs
Description copied from class:PTransform
Returns allPValues
that are consumed as inputs to thisPTransform
that are independent of the expansion of thePTransform
withinPTransform.expand(PInput)
.For example, this can contain any side input consumed by this
PTransform
.- Overrides:
getAdditionalInputs
in classorg.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,
PCollection<OutputT>>
-
delegate
- Specified by:
delegate
in classorg.apache.beam.sdk.util.construction.ForwardingPTransform<PCollection<? extends InputT>,
PCollection<OutputT>>
-