public final class ComputationTopology 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 |
---|
ComputationTopology() |
Modifier and Type | Method and Description |
---|---|
ComputationTopology |
clone() |
String |
getComputationId()
The ID of the computation.
|
List<StreamLocation> |
getInputs()
The inputs to the computation.
|
List<KeyRangeLocation> |
getKeyRanges()
The key ranges processed by the computation.
|
List<StreamLocation> |
getOutputs()
The outputs from the computation.
|
List<StateFamilyConfig> |
getStateFamilies()
The state family values.
|
String |
getSystemStageName()
The system stage name.
|
String |
getUserStageName()
The user stage name.
|
ComputationTopology |
set(String fieldName,
Object value) |
ComputationTopology |
setComputationId(String computationId)
The ID of the computation.
|
ComputationTopology |
setInputs(List<StreamLocation> inputs)
The inputs to the computation.
|
ComputationTopology |
setKeyRanges(List<KeyRangeLocation> keyRanges)
The key ranges processed by the computation.
|
ComputationTopology |
setOutputs(List<StreamLocation> outputs)
The outputs from the computation.
|
ComputationTopology |
setStateFamilies(List<StateFamilyConfig> stateFamilies)
The state family values.
|
ComputationTopology |
setSystemStageName(String systemStageName)
The system stage name.
|
ComputationTopology |
setUserStageName(String userStageName)
The user stage name.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getComputationId()
null
for nonepublic ComputationTopology setComputationId(String computationId)
computationId
- computationId or null
for nonepublic List<StreamLocation> getInputs()
null
for nonepublic ComputationTopology setInputs(List<StreamLocation> inputs)
inputs
- inputs or null
for nonepublic List<KeyRangeLocation> getKeyRanges()
null
for nonepublic ComputationTopology setKeyRanges(List<KeyRangeLocation> keyRanges)
keyRanges
- keyRanges or null
for nonepublic List<StreamLocation> getOutputs()
null
for nonepublic ComputationTopology setOutputs(List<StreamLocation> outputs)
outputs
- outputs or null
for nonepublic List<StateFamilyConfig> getStateFamilies()
null
for nonepublic ComputationTopology setStateFamilies(List<StateFamilyConfig> stateFamilies)
stateFamilies
- stateFamilies or null
for nonepublic String getSystemStageName()
null
for nonepublic ComputationTopology setSystemStageName(String systemStageName)
systemStageName
- systemStageName or null
for nonepublic String getUserStageName()
null
for nonepublic ComputationTopology setUserStageName(String userStageName)
userStageName
- userStageName or null
for nonepublic ComputationTopology set(String fieldName, Object value)
set
in class GenericJson
public ComputationTopology clone()
clone
in class GenericJson