@Internal public abstract class PValueBase extends java.lang.Object implements PValue
An abstract base class that provides default implementations for some methods of
 PValue.
| Modifier | Constructor and Description | 
|---|---|
protected  | 
PValueBase()
No-arg constructor for Java serialization only. 
 | 
protected  | 
PValueBase(Pipeline pipeline)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
finishSpecifying(PInput input,
                PTransform<?,?> transform)
After building, finalizes this  
PValue to make it ready for being used as an input to a
 PTransform. | 
void | 
finishSpecifyingOutput(java.lang.String transformName,
                      PInput input,
                      PTransform<?,?> transform)
As part of applying the producing  
PTransform, finalizes this output to make it ready
 for being used as an input and for running. | 
protected java.lang.String | 
getKindString()
Returns a  
String capturing the kind of this
 PValueBase. | 
java.lang.String | 
getName()
Returns the name of this  
PValueBase. | 
Pipeline | 
getPipeline()
 | 
PValueBase | 
setName(java.lang.String name)
Sets the name of this  
PValueBase. | 
java.lang.String | 
toString()  | 
protected PValueBase(Pipeline pipeline)
protected PValueBase()
PValueBase is unlikely to be
 valid.public java.lang.String getName()
PValueBase.
 By default, the name of a PValueBase is based on the
 name of the PTransform that produces it.  It can be
 specified explicitly by calling setName(java.lang.String).
public PValueBase setName(java.lang.String name)
PValueBase. Returns this.java.lang.IllegalStateException - if this PValueBase has
 already been finalized and may no longer be set.public void finishSpecifying(PInput input, PTransform<?,?> transform)
PValuePValue 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.
finishSpecifying in interface PValueinput - the PInput the PTransform was applied to to produce this
     outputtransform - the PTransform that produced this PValuepublic java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.String getKindString()
String capturing the kind of this
 PValueBase.
 By default, uses the base name of the current class as its kind string.
public Pipeline getPipeline()
POutputgetPipeline in interface PInputgetPipeline in interface POutputpublic void finishSpecifyingOutput(java.lang.String transformName,
                                   PInput input,
                                   PTransform<?,?> transform)
POutputPTransform, finalizes this output to make it ready
 for being used as an input and for running.
 This includes ensuring that all PCollections have Coders specified or defaulted.
 
Automatically invoked whenever this POutput is output, after
 POutput.finishSpecifyingOutput(String, PInput, PTransform) has been called on each
 component PValue returned by POutput.expand().
finishSpecifyingOutput in interface POutput