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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 GenericJson
public SourceMetadata clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.