public final class Position 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. 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 |
---|
Position() |
Modifier and Type | Method and Description |
---|---|
Position |
clone() |
Long |
getByteOffset() |
Boolean |
getEnd() |
String |
getKey() |
Long |
getRecordIndex() |
String |
getShufflePosition() |
Position |
set(String fieldName,
Object value) |
Position |
setByteOffset(Long byteOffset) |
Position |
setEnd(Boolean end) |
Position |
setKey(String key) |
Position |
setRecordIndex(Long recordIndex) |
Position |
setShufflePosition(String shufflePosition) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Long getByteOffset()
null
for nonepublic Position setByteOffset(Long byteOffset)
byteOffset
- byteOffset or null
for nonepublic Boolean getEnd()
null
for nonepublic String getKey()
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 GenericJson
public Position clone()
clone
in class GenericJson