@Internal public interface PValue extends POutput, PInput
A primitive value within Beam.
Modifier and Type | Method and Description |
---|---|
java.util.Map<TupleTag<?>,PValue> |
expand()
Deprecated.
|
void |
finishSpecifying(PInput upstreamInput,
PTransform<?,?> upstreamTransform)
After building, finalizes this
PValue to make it ready for being used as an input to a
PTransform . |
java.lang.String |
getName()
Returns the name of this
PValue . |
finishSpecifyingOutput, getPipeline
getPipeline
java.lang.String getName()
PValue
.@Deprecated java.util.Map<TupleTag<?>,PValue> expand()
POutput
into a list of its component output
PValues
.
PValue
expands to itself.PValues
(such as
PCollectionTuple
or PCollectionList
)
expands to its component PValue PValues
.Not intended to be invoked directly by user code..
A PValue
always expands into itself. Calling expand()
on a PValue is almost
never appropriate.
@Internal void finishSpecifying(PInput upstreamInput, PTransform<?,?> upstreamTransform)
PValue
to make it ready for being used as an input to a
PTransform
.
Automatically invoked whenever apply()
is invoked on this PValue
. Users
should not normally call this explicitly.
upstreamInput
- the PInput
the PTransform
was applied to to produce this
outputupstreamTransform
- the PTransform
that produced this PValue