public final class SideInputInfo 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 |
---|
SideInputInfo() |
Modifier and Type | Method and Description |
---|---|
SideInputInfo |
clone() |
Map<String,Object> |
getKind()
How to interpret the source element(s) as a side input value.
|
List<Source> |
getSources()
The source(s) to read element(s) from to get the value of this side input.
|
String |
getTag()
The id of the tag the user code will access this side input by; this should correspond to the
tag of some MultiOutputInfo.
|
SideInputInfo |
set(String fieldName,
Object value) |
SideInputInfo |
setKind(Map<String,Object> kind)
How to interpret the source element(s) as a side input value.
|
SideInputInfo |
setSources(List<Source> sources)
The source(s) to read element(s) from to get the value of this side input.
|
SideInputInfo |
setTag(String tag)
The id of the tag the user code will access this side input by; this should correspond to the
tag of some MultiOutputInfo.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Map<String,Object> getKind()
null
for nonepublic SideInputInfo setKind(Map<String,Object> kind)
kind
- kind or null
for nonepublic List<Source> getSources()
null
for nonepublic SideInputInfo setSources(List<Source> sources)
sources
- sources or null
for nonepublic String getTag()
null
for nonepublic SideInputInfo setTag(String tag)
tag
- tag or null
for nonepublic SideInputInfo set(String fieldName, Object value)
set
in class GenericJson
public SideInputInfo clone()
clone
in class GenericJson