public final class SourceMetadata 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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SourceMetadata() |
| Modifier and Type | Method and Description |
|---|---|
SourceMetadata |
clone() |
Long |
getEstimatedSizeBytes()
An estimate of the total size (in bytes) of the data that would be read from this source.
|
Boolean |
getInfinite()
Specifies that the size of this source is known to be infinite (this is a streaming source).
|
Boolean |
getProducesSortedKeys()
Whether this source is known to produce key/value pairs with the (encoded) keys in
lexicographically sorted order.
|
SourceMetadata |
set(String fieldName,
Object value) |
SourceMetadata |
setEstimatedSizeBytes(Long estimatedSizeBytes)
An estimate of the total size (in bytes) of the data that would be read from this source.
|
SourceMetadata |
setInfinite(Boolean infinite)
Specifies that the size of this source is known to be infinite (this is a streaming source).
|
SourceMetadata |
setProducesSortedKeys(Boolean producesSortedKeys)
Whether this source is known to produce key/value pairs with the (encoded) keys in
lexicographically sorted order.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Long getEstimatedSizeBytes()
null for nonepublic SourceMetadata setEstimatedSizeBytes(Long estimatedSizeBytes)
estimatedSizeBytes - estimatedSizeBytes or null for nonepublic Boolean getInfinite()
null for nonepublic SourceMetadata setInfinite(Boolean infinite)
infinite - infinite or null for nonepublic Boolean getProducesSortedKeys()
null for nonepublic SourceMetadata setProducesSortedKeys(Boolean producesSortedKeys)
producesSortedKeys - producesSortedKeys or null for nonepublic SourceMetadata set(String fieldName, Object value)
set in class GenericJsonpublic SourceMetadata clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.