public final class Source 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 |
---|
Source() |
Modifier and Type | Method and Description |
---|---|
Source |
clone() |
List<Map<String,Object>> |
getBaseSpecs() |
Map<String,Object> |
getCodec() |
Boolean |
getDoesNotNeedSplitting() |
SourceMetadata |
getMetadata() |
Map<String,Object> |
getSpec() |
Source |
set(String fieldName,
Object value) |
Source |
setBaseSpecs(List<Map<String,Object>> baseSpecs) |
Source |
setCodec(Map<String,Object> codec) |
Source |
setDoesNotNeedSplitting(Boolean doesNotNeedSplitting) |
Source |
setMetadata(SourceMetadata metadata) |
Source |
setSpec(Map<String,Object> spec) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Source setBaseSpecs(List<Map<String,Object>> baseSpecs)
baseSpecs
- baseSpecs or null
for nonepublic Boolean getDoesNotNeedSplitting()
null
for nonepublic Source setDoesNotNeedSplitting(Boolean doesNotNeedSplitting)
doesNotNeedSplitting
- doesNotNeedSplitting or null
for nonepublic SourceMetadata getMetadata()
null
for nonepublic Source setMetadata(SourceMetadata metadata)
metadata
- metadata or null
for nonepublic Source set(String fieldName, Object value)
set
in class GenericJson
public Source clone()
clone
in class GenericJson