public final class Position
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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Position() |
| Modifier and Type | Method and Description |
|---|---|
Position |
clone() |
Long |
getByteOffset()
Position is a byte offset.
|
ConcatPosition |
getConcatPosition()
CloudPosition is a concat position.
|
Boolean |
getEnd()
Position is past all other positions.
|
String |
getKey()
Position is a string key, ordered lexicographically.
|
Long |
getRecordIndex()
Position is a record index.
|
String |
getShufflePosition()
CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
|
Position |
set(String fieldName,
Object value) |
Position |
setByteOffset(Long byteOffset)
Position is a byte offset.
|
Position |
setConcatPosition(ConcatPosition concatPosition)
CloudPosition is a concat position.
|
Position |
setEnd(Boolean end)
Position is past all other positions.
|
Position |
setKey(String key)
Position is a string key, ordered lexicographically.
|
Position |
setRecordIndex(Long recordIndex)
Position is a record index.
|
Position |
setShufflePosition(String shufflePosition)
CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
|
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 getByteOffset()
null for nonepublic Position setByteOffset(Long byteOffset)
byteOffset - byteOffset or null for nonepublic ConcatPosition getConcatPosition()
null for nonepublic Position setConcatPosition(ConcatPosition concatPosition)
concatPosition - concatPosition or null for nonepublic Boolean getEnd()
null for nonepublic Position setEnd(Boolean end)
end - end or null for nonepublic String getKey()
null for nonepublic Position setKey(String key)
key - key or null for nonepublic Long getRecordIndex()
null for nonepublic Position setRecordIndex(Long recordIndex)
recordIndex - recordIndex or null for nonepublic String getShufflePosition()
null for nonepublic Position setShufflePosition(String shufflePosition)
shufflePosition - shufflePosition or null for nonepublic Position set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Position clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.