target.apidocs.com.google.api.services.dataflow.model.ParDoInstruction.html Maven / Gradle / Ivy
ParDoInstruction (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow.model
Class ParDoInstruction
- 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.ParDoInstruction
-
public final class ParDoInstruction
extends com.google.api.client.json.GenericJson
An instruction that does a ParDo operation. Takes one main input and zero or more side inputs,
and produces zero or more outputs. Runs user code.
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
ParDoInstruction()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
ParDoInstruction
clone()
InstructionInput
getInput()
The input.
List<MultiOutputInfo>
getMultiOutputInfos()
Information about each of the outputs, if user_fn is a MultiDoFn.
Integer
getNumOutputs()
The number of outputs.
List<SideInputInfo>
getSideInputs()
Zero or more side inputs.
Map<String,Object>
getUserFn()
The user function to invoke.
ParDoInstruction
set(String fieldName,
Object value)
ParDoInstruction
setInput(InstructionInput input)
The input.
ParDoInstruction
setMultiOutputInfos(List<MultiOutputInfo> multiOutputInfos)
Information about each of the outputs, if user_fn is a MultiDoFn.
ParDoInstruction
setNumOutputs(Integer numOutputs)
The number of outputs.
ParDoInstruction
setSideInputs(List<SideInputInfo> sideInputs)
Zero or more side inputs.
ParDoInstruction
setUserFn(Map<String,Object> userFn)
The user 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()
The input.
- Returns:
- value or
null
for none
-
setInput
public ParDoInstruction setInput(InstructionInput input)
The input.
- Parameters:
input
- input or null
for none
-
getMultiOutputInfos
public List<MultiOutputInfo> getMultiOutputInfos()
Information about each of the outputs, if user_fn is a MultiDoFn.
- Returns:
- value or
null
for none
-
setMultiOutputInfos
public ParDoInstruction setMultiOutputInfos(List<MultiOutputInfo> multiOutputInfos)
Information about each of the outputs, if user_fn is a MultiDoFn.
- Parameters:
multiOutputInfos
- multiOutputInfos or null
for none
-
getNumOutputs
public Integer getNumOutputs()
The number of outputs.
- Returns:
- value or
null
for none
-
setNumOutputs
public ParDoInstruction setNumOutputs(Integer numOutputs)
The number of outputs.
- Parameters:
numOutputs
- numOutputs or null
for none
-
getSideInputs
public List<SideInputInfo> getSideInputs()
Zero or more side inputs.
- Returns:
- value or
null
for none
-
setSideInputs
public ParDoInstruction setSideInputs(List<SideInputInfo> sideInputs)
Zero or more side inputs.
- Parameters:
sideInputs
- sideInputs or null
for none
-
getUserFn
public Map<String,Object> getUserFn()
The user function to invoke.
- Returns:
- value or
null
for none
-
setUserFn
public ParDoInstruction setUserFn(Map<String,Object> userFn)
The user function to invoke.
- Parameters:
userFn
- userFn or null
for none
-
set
public ParDoInstruction set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public ParDoInstruction 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