public final class ParDoInstruction 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 |
---|
ParDoInstruction() |
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.
|
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 ParDoInstruction setInput(InstructionInput input)
input
- input or null
for nonepublic List<MultiOutputInfo> getMultiOutputInfos()
null
for nonepublic ParDoInstruction setMultiOutputInfos(List<MultiOutputInfo> multiOutputInfos)
multiOutputInfos
- multiOutputInfos or null
for nonepublic Integer getNumOutputs()
null
for nonepublic ParDoInstruction setNumOutputs(Integer numOutputs)
numOutputs
- numOutputs or null
for nonepublic List<SideInputInfo> getSideInputs()
null
for nonepublic ParDoInstruction setSideInputs(List<SideInputInfo> sideInputs)
sideInputs
- sideInputs or null
for nonepublic Map<String,Object> getUserFn()
null
for nonepublic ParDoInstruction setUserFn(Map<String,Object> userFn)
userFn
- userFn or null
for nonepublic ParDoInstruction set(String fieldName, Object value)
set
in class GenericJson
public ParDoInstruction clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.