public final class Sink
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
Sink() |
Modifier and Type | Method and Description |
---|---|
Sink |
clone() |
java.util.Map<java.lang.String,java.lang.Object> |
getCodec()
The codec to use to encode data written to the sink.
|
java.util.Map<java.lang.String,java.lang.Object> |
getSpec()
The sink to write to, plus its parameters.
|
Sink |
set(java.lang.String fieldName,
java.lang.Object value) |
Sink |
setCodec(java.util.Map<java.lang.String,java.lang.Object> codec)
The codec to use to encode data written to the sink.
|
Sink |
setSpec(java.util.Map<java.lang.String,java.lang.Object> spec)
The sink to write to, plus its parameters.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.Map<java.lang.String,java.lang.Object> getCodec()
null
for nonepublic Sink setCodec(java.util.Map<java.lang.String,java.lang.Object> codec)
codec
- codec or null
for nonepublic java.util.Map<java.lang.String,java.lang.Object> getSpec()
null
for nonepublic Sink setSpec(java.util.Map<java.lang.String,java.lang.Object> spec)
spec
- spec or null
for nonepublic Sink set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Sink clone()
clone
in class com.google.api.client.json.GenericJson