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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
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
Copyright © 2011–2020 Google. All rights reserved.