public final class PartialGroupByKeyInstruction
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
PartialGroupByKeyInstruction() |
Modifier and Type | Method and Description |
---|---|
PartialGroupByKeyInstruction |
clone() |
InstructionInput |
getInput()
Describes the input to the partial group-by-key instruction.
|
java.util.Map<java.lang.String,java.lang.Object> |
getInputElementCodec()
The codec to use for interpreting an element in the input PTable.
|
java.lang.String |
getOriginalCombineValuesInputStoreName()
If this instruction includes a combining function this is the name of the intermediate store
between the GBK and the CombineValues.
|
java.lang.String |
getOriginalCombineValuesStepName()
If this instruction includes a combining function, this is the name of the CombineValues
instruction lifted into this instruction.
|
java.util.List<SideInputInfo> |
getSideInputs()
Zero or more side inputs.
|
java.util.Map<java.lang.String,java.lang.Object> |
getValueCombiningFn()
The value combining function to invoke.
|
PartialGroupByKeyInstruction |
set(java.lang.String fieldName,
java.lang.Object value) |
PartialGroupByKeyInstruction |
setInput(InstructionInput input)
Describes the input to the partial group-by-key instruction.
|
PartialGroupByKeyInstruction |
setInputElementCodec(java.util.Map<java.lang.String,java.lang.Object> inputElementCodec)
The codec to use for interpreting an element in the input PTable.
|
PartialGroupByKeyInstruction |
setOriginalCombineValuesInputStoreName(java.lang.String originalCombineValuesInputStoreName)
If this instruction includes a combining function this is the name of the intermediate store
between the GBK and the CombineValues.
|
PartialGroupByKeyInstruction |
setOriginalCombineValuesStepName(java.lang.String originalCombineValuesStepName)
If this instruction includes a combining function, this is the name of the CombineValues
instruction lifted into this instruction.
|
PartialGroupByKeyInstruction |
setSideInputs(java.util.List<SideInputInfo> sideInputs)
Zero or more side inputs.
|
PartialGroupByKeyInstruction |
setValueCombiningFn(java.util.Map<java.lang.String,java.lang.Object> valueCombiningFn)
The value combining function to invoke.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public InstructionInput getInput()
null
for nonepublic PartialGroupByKeyInstruction setInput(InstructionInput input)
input
- input or null
for nonepublic java.util.Map<java.lang.String,java.lang.Object> getInputElementCodec()
null
for nonepublic PartialGroupByKeyInstruction setInputElementCodec(java.util.Map<java.lang.String,java.lang.Object> inputElementCodec)
inputElementCodec
- inputElementCodec or null
for nonepublic java.lang.String getOriginalCombineValuesInputStoreName()
null
for nonepublic PartialGroupByKeyInstruction setOriginalCombineValuesInputStoreName(java.lang.String originalCombineValuesInputStoreName)
originalCombineValuesInputStoreName
- originalCombineValuesInputStoreName or null
for nonepublic java.lang.String getOriginalCombineValuesStepName()
null
for nonepublic PartialGroupByKeyInstruction setOriginalCombineValuesStepName(java.lang.String originalCombineValuesStepName)
originalCombineValuesStepName
- originalCombineValuesStepName or null
for nonepublic java.util.List<SideInputInfo> getSideInputs()
null
for nonepublic PartialGroupByKeyInstruction setSideInputs(java.util.List<SideInputInfo> sideInputs)
sideInputs
- sideInputs or null
for nonepublic java.util.Map<java.lang.String,java.lang.Object> getValueCombiningFn()
null
for nonepublic PartialGroupByKeyInstruction setValueCombiningFn(java.util.Map<java.lang.String,java.lang.Object> valueCombiningFn)
valueCombiningFn
- valueCombiningFn or null
for nonepublic PartialGroupByKeyInstruction set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public PartialGroupByKeyInstruction clone()
clone
in class com.google.api.client.json.GenericJson