public static interface TransformTranslator.StepTranslationContext
TransformTranslator to build a Dataflow step.| Modifier and Type | Method and Description | 
|---|---|
void | 
addCollectionToSingletonOutput(PCollection<?> inputValue,
                              java.lang.String outputName,
                              PCollectionView<?> outputValue)
Adds an output to this  
CollectionToSingleton Dataflow step, consuming the specified
 input PValue and producing the specified output PValue. | 
void | 
addEncodingInput(Coder<?> value)
Sets the encoding for this Dataflow step. 
 | 
void | 
addInput(java.lang.String name,
        java.lang.Boolean value)
Adds an input with the given name and value to this Dataflow step. 
 | 
void | 
addInput(java.lang.String name,
        java.util.List<? extends java.util.Map<java.lang.String,java.lang.Object>> elements)
Adds an input that is a list of objects. 
 | 
void | 
addInput(java.lang.String name,
        java.lang.Long value)
Adds an input with the given name and value to this Dataflow step. 
 | 
void | 
addInput(java.lang.String name,
        java.util.Map<java.lang.String,java.lang.Object> elements)
Adds an input that is a dictionary of strings to objects. 
 | 
void | 
addInput(java.lang.String name,
        PInput value)
Adds an input with the given name to this Dataflow step, coming from the specified input
 PValue. 
 | 
void | 
addInput(java.lang.String name,
        java.lang.String value)
Adds an input with the given name and value to this Dataflow step. 
 | 
void | 
addOutput(java.lang.String name,
         PCollection<?> value)
Adds a primitive output to this Dataflow step with the given name as the local output name,
 producing the specified output  
PValue, including its Coder if a TypedPValue. | 
void addEncodingInput(Coder<?> value)
void addInput(java.lang.String name,
              java.lang.Boolean value)
void addInput(java.lang.String name,
              java.lang.String value)
void addInput(java.lang.String name,
              java.lang.Long value)
void addInput(java.lang.String name,
              PInput value)
The input PValue must have already been produced by a step earlier in this Pipeline. If the input value has not yet been produced yet (by a call to either addOutput(java.lang.String, org.apache.beam.sdk.values.PCollection<?>) or addCollectionToSingletonOutput(org.apache.beam.sdk.values.PCollection<?>, java.lang.String, org.apache.beam.sdk.values.PCollectionView<?>)) this method will throw an exception.
void addInput(java.lang.String name,
              java.util.Map<java.lang.String,java.lang.Object> elements)
void addInput(java.lang.String name,
              java.util.List<? extends java.util.Map<java.lang.String,java.lang.Object>> elements)
void addOutput(java.lang.String name,
               PCollection<?> value)
PValue, including its Coder if a TypedPValue. If the PValue is a PCollection, wraps its coder inside a WindowedValueCoder.void addCollectionToSingletonOutput(PCollection<?> inputValue, java.lang.String outputName, PCollectionView<?> outputValue)
CollectionToSingleton Dataflow step, consuming the specified
 input PValue and producing the specified output PValue. This step requires
 special treatment for its output encoding. Returns a pipeline level unique id.