Package org.apache.beam.sdk.values
Interface PValue
- All Known Subinterfaces:
PCollectionView<T>
- All Known Implementing Classes:
PCollection,PCollectionViews.SimplePCollectionView,PValueBase
For internal use. No backwards compatibility guarantees.
A primitive value within Beam.
-
Method Summary
Modifier and TypeMethodDescriptionexpand()Deprecated.voidfinishSpecifying(PInput upstreamInput, PTransform<?, ?> upstreamTransform) After building, finalizes thisPValueto make it ready for being used as an input to aPTransform.getName()Returns the name of thisPValue.Methods inherited from interface org.apache.beam.sdk.values.PInput
getPipelineMethods inherited from interface org.apache.beam.sdk.values.POutput
finishSpecifyingOutput, getPipeline
-
Method Details
-
getName
String getName()Returns the name of thisPValue. -
expand
Deprecated.Expands thisPOutputinto a list of its component outputPValues.- A
PValueexpands to itself. - A tuple or list of
PValues(such asPCollectionTupleorPCollectionList) expands to its componentPValue PValues.
Not intended to be invoked directly by user code..
- A
-
finishSpecifying
After building, finalizes thisPValueto make it ready for being used as an input to aPTransform.Automatically invoked whenever
apply()is invoked on thisPValue. Users should not normally call this explicitly.- Parameters:
upstreamInput- thePInputthePTransformwas applied to to produce this outputupstreamTransform- thePTransformthat produced thisPValue
-
PValuealways expands into itself.