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.void
finishSpecifying
(PInput upstreamInput, PTransform<?, ?> upstreamTransform) After building, finalizes thisPValue
to 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
getPipeline
Methods inherited from interface org.apache.beam.sdk.values.POutput
finishSpecifyingOutput, getPipeline
-
Method Details
-
getName
String getName()Returns the name of thisPValue
. -
expand
Deprecated.Expands thisPOutput
into a list of its component outputPValues
.- A
PValue
expands to itself. - A tuple or list of
PValues
(such asPCollectionTuple
orPCollectionList
) expands to its componentPValue PValues
.
Not intended to be invoked directly by user code..
- A
-
finishSpecifying
After building, finalizes thisPValue
to 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
- thePInput
thePTransform
was applied to to produce this outputupstreamTransform
- thePTransform
that produced thisPValue
-
PValue
always expands into itself.