public final class InstructionOutput 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 |
---|
InstructionOutput() |
Modifier and Type | Method and Description |
---|---|
InstructionOutput |
clone() |
Map<String,Object> |
getCodec()
The codec to use to encode data being written via this output.
|
String |
getName()
The user-provided name of this output.
|
Boolean |
getOnlyCountKeyBytes()
For system-generated byte and mean byte metrics, certain instructions should only report the
key size.
|
Boolean |
getOnlyCountValueBytes()
For system-generated byte and mean byte metrics, certain instructions should only report the
value size.
|
String |
getOriginalName()
System-defined name for this output in the original workflow graph.
|
String |
getSystemName()
System-defined name of this output.
|
InstructionOutput |
set(String fieldName,
Object value) |
InstructionOutput |
setCodec(Map<String,Object> codec)
The codec to use to encode data being written via this output.
|
InstructionOutput |
setName(String name)
The user-provided name of this output.
|
InstructionOutput |
setOnlyCountKeyBytes(Boolean onlyCountKeyBytes)
For system-generated byte and mean byte metrics, certain instructions should only report the
key size.
|
InstructionOutput |
setOnlyCountValueBytes(Boolean onlyCountValueBytes)
For system-generated byte and mean byte metrics, certain instructions should only report the
value size.
|
InstructionOutput |
setOriginalName(String originalName)
System-defined name for this output in the original workflow graph.
|
InstructionOutput |
setSystemName(String systemName)
System-defined name of this output.
|
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> getCodec()
null
for nonepublic InstructionOutput setCodec(Map<String,Object> codec)
codec
- codec or null
for nonepublic String getName()
null
for nonepublic InstructionOutput setName(String name)
name
- name or null
for nonepublic Boolean getOnlyCountKeyBytes()
null
for nonepublic InstructionOutput setOnlyCountKeyBytes(Boolean onlyCountKeyBytes)
onlyCountKeyBytes
- onlyCountKeyBytes or null
for nonepublic Boolean getOnlyCountValueBytes()
null
for nonepublic InstructionOutput setOnlyCountValueBytes(Boolean onlyCountValueBytes)
onlyCountValueBytes
- onlyCountValueBytes or null
for nonepublic String getOriginalName()
null
for nonepublic InstructionOutput setOriginalName(String originalName)
originalName
- originalName or null
for nonepublic String getSystemName()
null
for nonepublic InstructionOutput setSystemName(String systemName)
systemName
- systemName or null
for nonepublic InstructionOutput set(String fieldName, Object value)
set
in class GenericJson
public InstructionOutput clone()
clone
in class GenericJson