target.apidocs.com.google.api.services.dataflow.model.PartialGroupByKeyInstruction.html Maven / Gradle / Ivy
PartialGroupByKeyInstruction (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow.model
Class PartialGroupByKeyInstruction
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataflow.model.PartialGroupByKeyInstruction
-
public final class PartialGroupByKeyInstruction
extends com.google.api.client.json.GenericJson
An instruction that does a partial group-by-key. One input and one output.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PartialGroupByKeyInstruction()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getInput
public InstructionInput getInput()
Describes the input to the partial group-by-key instruction.
- Returns:
- value or
null
for none
-
setInput
public PartialGroupByKeyInstruction setInput(InstructionInput input)
Describes the input to the partial group-by-key instruction.
- Parameters:
input
- input or null
for none
-
getInputElementCodec
public Map<String,Object> getInputElementCodec()
The codec to use for interpreting an element in the input PTable.
- Returns:
- value or
null
for none
-
setInputElementCodec
public PartialGroupByKeyInstruction setInputElementCodec(Map<String,Object> inputElementCodec)
The codec to use for interpreting an element in the input PTable.
- Parameters:
inputElementCodec
- inputElementCodec or null
for none
-
getOriginalCombineValuesInputStoreName
public String getOriginalCombineValuesInputStoreName()
If this instruction includes a combining function this is the name of the intermediate store
between the GBK and the CombineValues.
- Returns:
- value or
null
for none
-
setOriginalCombineValuesInputStoreName
public 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.
- Parameters:
originalCombineValuesInputStoreName
- originalCombineValuesInputStoreName or null
for none
-
getOriginalCombineValuesStepName
public String getOriginalCombineValuesStepName()
If this instruction includes a combining function, this is the name of the CombineValues
instruction lifted into this instruction.
- Returns:
- value or
null
for none
-
setOriginalCombineValuesStepName
public PartialGroupByKeyInstruction setOriginalCombineValuesStepName(String originalCombineValuesStepName)
If this instruction includes a combining function, this is the name of the CombineValues
instruction lifted into this instruction.
- Parameters:
originalCombineValuesStepName
- originalCombineValuesStepName or null
for none
-
getSideInputs
public List<SideInputInfo> getSideInputs()
Zero or more side inputs.
- Returns:
- value or
null
for none
-
setSideInputs
public PartialGroupByKeyInstruction setSideInputs(List<SideInputInfo> sideInputs)
Zero or more side inputs.
- Parameters:
sideInputs
- sideInputs or null
for none
-
getValueCombiningFn
public Map<String,Object> getValueCombiningFn()
The value combining function to invoke.
- Returns:
- value or
null
for none
-
setValueCombiningFn
public PartialGroupByKeyInstruction setValueCombiningFn(Map<String,Object> valueCombiningFn)
The value combining function to invoke.
- Parameters:
valueCombiningFn
- valueCombiningFn or null
for none
-
set
public PartialGroupByKeyInstruction set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public PartialGroupByKeyInstruction clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy