public final class MapTask 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 |
---|
MapTask() |
Modifier and Type | Method and Description |
---|---|
MapTask |
clone() |
List<ParallelInstruction> |
getInstructions()
The instructions in the MapTask.
|
String |
getStageName()
System-defined name of the stage containing this MapTask.
|
String |
getSystemName()
System-defined name of this MapTask.
|
MapTask |
set(String fieldName,
Object value) |
MapTask |
setInstructions(List<ParallelInstruction> instructions)
The instructions in the MapTask.
|
MapTask |
setStageName(String stageName)
System-defined name of the stage containing this MapTask.
|
MapTask |
setSystemName(String systemName)
System-defined name of this MapTask.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<ParallelInstruction> getInstructions()
null
for nonepublic MapTask setInstructions(List<ParallelInstruction> instructions)
instructions
- instructions or null
for nonepublic String getStageName()
null
for nonepublic MapTask setStageName(String stageName)
stageName
- stageName or null
for nonepublic String getSystemName()
null
for nonepublic MapTask setSystemName(String systemName)
systemName
- systemName or null
for nonepublic MapTask set(String fieldName, Object value)
set
in class GenericJson
public MapTask clone()
clone
in class GenericJson