public abstract class POutputValueBase extends Object implements POutput
POutputValueBase is the abstract base class of
PTransform outputs.
A PValueBase that adds tracking of its producing
AppliedPTransform.
For internal use.
| Modifier | Constructor and Description |
|---|---|
protected |
POutputValueBase()
No-arg constructor for Java serialization only.
|
protected |
POutputValueBase(Pipeline pipeline) |
| Modifier and Type | Method and Description |
|---|---|
void |
finishSpecifyingOutput()
Default behavior for
finishSpecifyingOutput() is
to do nothing. |
Pipeline |
getPipeline()
|
AppliedPTransform<?,?,?> |
getProducingTransformInternal()
Returns the
AppliedPTransform that this POutputValueBase
is an output of. |
void |
recordAsOutput(AppliedPTransform<?,?,?> transform)
Records that this
POutputValueBase is an output with the
given name of the given AppliedPTransform. |
protected POutputValueBase(Pipeline pipeline)
protected POutputValueBase()
POutputValueBase is unlikely to be
valid.public Pipeline getPipeline()
POutputgetPipeline in interface POutputpublic AppliedPTransform<?,?,?> getProducingTransformInternal()
public void recordAsOutput(AppliedPTransform<?,?,?> transform)
POutputValueBase is an output with the
given name of the given AppliedPTransform.
To be invoked only by POutput.recordAsOutput(org.apache.beam.sdk.transforms.AppliedPTransform<?, ?, ?>)
implementations. Not to be invoked directly by user code.
recordAsOutput in interface POutputpublic void finishSpecifyingOutput()
finishSpecifyingOutput() is
to do nothing. Override if your PValue requires
finalization.finishSpecifyingOutput in interface POutput