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 Google 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.Flags| Constructor and Description |
|---|
Position() |
| Modifier and Type | Method and Description |
|---|---|
Position |
clone() |
java.lang.Long |
getByteOffset()
Position is a byte offset.
|
ConcatPosition |
getConcatPosition()
CloudPosition is a concat position.
|
java.lang.Boolean |
getEnd()
Position is past all other positions.
|
java.lang.String |
getKey()
Position is a string key, ordered lexicographically.
|
java.lang.Long |
getRecordIndex()
Position is a record index.
|
java.lang.String |
getShufflePosition()
CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
|
Position |
set(java.lang.String fieldName,
java.lang.Object value) |
Position |
setByteOffset(java.lang.Long byteOffset)
Position is a byte offset.
|
Position |
setConcatPosition(ConcatPosition concatPosition)
CloudPosition is a concat position.
|
Position |
setEnd(java.lang.Boolean end)
Position is past all other positions.
|
Position |
setKey(java.lang.String key)
Position is a string key, ordered lexicographically.
|
Position |
setRecordIndex(java.lang.Long recordIndex)
Position is a record index.
|
Position |
setShufflePosition(java.lang.String shufflePosition)
CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getByteOffset()
null for nonepublic Position setByteOffset(java.lang.Long byteOffset)
byteOffset - byteOffset or null for nonepublic ConcatPosition getConcatPosition()
null for nonepublic Position setConcatPosition(ConcatPosition concatPosition)
concatPosition - concatPosition or null for nonepublic java.lang.Boolean getEnd()
null for nonepublic Position setEnd(java.lang.Boolean end)
end - end or null for nonepublic java.lang.String getKey()
null for nonepublic Position setKey(java.lang.String key)
key - key or null for nonepublic java.lang.Long getRecordIndex()
null for nonepublic Position setRecordIndex(java.lang.Long recordIndex)
recordIndex - recordIndex or null for nonepublic java.lang.String getShufflePosition()
null for nonepublic Position setShufflePosition(java.lang.String shufflePosition)
shufflePosition - shufflePosition or null for nonepublic Position set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Position clone()
clone in class com.google.api.client.json.GenericJson