public final class SourceSplitOptions 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 |
---|
SourceSplitOptions() |
Modifier and Type | Method and Description |
---|---|
SourceSplitOptions |
clone() |
Long |
getDesiredBundleSizeBytes()
The source should be split into a set of bundles where the estimated size of each is
approximately this many bytes.
|
Long |
getDesiredShardSizeBytes()
DEPRECATED in favor of desired_bundle_size_bytes.
|
SourceSplitOptions |
set(String fieldName,
Object value) |
SourceSplitOptions |
setDesiredBundleSizeBytes(Long desiredBundleSizeBytes)
The source should be split into a set of bundles where the estimated size of each is
approximately this many bytes.
|
SourceSplitOptions |
setDesiredShardSizeBytes(Long desiredShardSizeBytes)
DEPRECATED in favor of desired_bundle_size_bytes.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Long getDesiredBundleSizeBytes()
null
for nonepublic SourceSplitOptions setDesiredBundleSizeBytes(Long desiredBundleSizeBytes)
desiredBundleSizeBytes
- desiredBundleSizeBytes or null
for nonepublic Long getDesiredShardSizeBytes()
null
for nonepublic SourceSplitOptions setDesiredShardSizeBytes(Long desiredShardSizeBytes)
desiredShardSizeBytes
- desiredShardSizeBytes or null
for nonepublic SourceSplitOptions set(String fieldName, Object value)
set
in class GenericJson
public SourceSplitOptions clone()
clone
in class GenericJson