public final class PartialGroupByKeyInstruction extends 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PartialGroupByKeyInstruction() |
Modifier and Type | Method and Description |
---|---|
PartialGroupByKeyInstruction |
clone() |
InstructionInput |
getInput()
Describes the input to the partial group-by-key instruction.
|
Map<String,Object> |
getInputElementCodec()
The codec to use for interpreting an element in the input PTable.
|
String |
getOriginalCombineValuesInputStoreName()
If this instruction includes a combining function this is the name of the intermediate store
between the GBK and the CombineValues.
|
String |
getOriginalCombineValuesStepName()
If this instruction includes a combining function, this is the name of the CombineValues
instruction lifted into this instruction.
|
List<SideInputInfo> |
getSideInputs()
Zero or more side inputs.
|
Map<String,Object> |
getValueCombiningFn()
The value combining function to invoke.
|
PartialGroupByKeyInstruction |
set(String fieldName,
Object value) |
PartialGroupByKeyInstruction |
setInput(InstructionInput input)
Describes the input to the partial group-by-key instruction.
|
PartialGroupByKeyInstruction |
setInputElementCodec(Map<String,Object> inputElementCodec)
The codec to use for interpreting an element in the input PTable.
|
PartialGroupByKeyInstruction |
setOriginalCombineValuesInputStoreName(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(String originalCombineValuesStepName)
If this instruction includes a combining function, this is the name of the CombineValues
instruction lifted into this instruction.
|
PartialGroupByKeyInstruction |
setSideInputs(List<SideInputInfo> sideInputs)
Zero or more side inputs.
|
PartialGroupByKeyInstruction |
setValueCombiningFn(Map<String,Object> valueCombiningFn)
The value combining function to invoke.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public InstructionInput getInput()
null
for nonepublic PartialGroupByKeyInstruction setInput(InstructionInput input)
input
- input or null
for nonepublic Map<String,Object> getInputElementCodec()
null
for nonepublic PartialGroupByKeyInstruction setInputElementCodec(Map<String,Object> inputElementCodec)
inputElementCodec
- inputElementCodec or null
for nonepublic String getOriginalCombineValuesInputStoreName()
null
for nonepublic PartialGroupByKeyInstruction setOriginalCombineValuesInputStoreName(String originalCombineValuesInputStoreName)
originalCombineValuesInputStoreName
- originalCombineValuesInputStoreName or null
for nonepublic String getOriginalCombineValuesStepName()
null
for nonepublic PartialGroupByKeyInstruction setOriginalCombineValuesStepName(String originalCombineValuesStepName)
originalCombineValuesStepName
- originalCombineValuesStepName or null
for nonepublic List<SideInputInfo> getSideInputs()
null
for nonepublic PartialGroupByKeyInstruction setSideInputs(List<SideInputInfo> sideInputs)
sideInputs
- sideInputs or null
for nonepublic Map<String,Object> getValueCombiningFn()
null
for nonepublic PartialGroupByKeyInstruction setValueCombiningFn(Map<String,Object> valueCombiningFn)
valueCombiningFn
- valueCombiningFn or null
for nonepublic PartialGroupByKeyInstruction set(String fieldName, Object value)
set
in class GenericJson
public PartialGroupByKeyInstruction clone()
clone
in class GenericJson