|
dataflow
v1b3
|
#include <position.h>
Public Member Functions | |
| Position (const Json::Value &storage) | |
| Position (Json::Value *storage) | |
| virtual | ~Position () |
| const StringPiece | GetTypeName () const |
| bool | has_byte_offset () const |
| void | clear_byte_offset () |
| int64 | get_byte_offset () const |
| void | set_byte_offset (int64 value) |
| bool | has_concat_position () const |
| void | clear_concat_position () |
| const ConcatPosition | get_concat_position () const |
| ConcatPosition | mutable_concatPosition () |
| bool | has_end () const |
| void | clear_end () |
| bool | get_end () const |
| void | set_end (bool value) |
| bool | has_key () const |
| void | clear_key () |
| const StringPiece | get_key () const |
| void | set_key (const StringPiece &value) |
| bool | has_record_index () const |
| void | clear_record_index () |
| int64 | get_record_index () const |
| void | set_record_index (int64 value) |
| bool | has_shuffle_position () const |
| void | clear_shuffle_position () |
| const StringPiece | get_shuffle_position () const |
| void | set_shuffle_position (const StringPiece &value) |
Static Public Member Functions | |
| static Position * | New () |
Position defines a position within a collection of data. The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'byteOffset' attribute.
|
inline |
Clears the 'concatPosition' attribute.
|
inline |
Clears the 'end' attribute.
|
inline |
Clears the 'key' attribute.
|
inline |
Clears the 'recordIndex' attribute.
|
inline |
Clears the 'shufflePosition' attribute.
|
inline |
Get the value of the 'byteOffset' attribute.
| const ConcatPosition google_dataflow_api::Position::get_concat_position | ( | ) | const |
Get a reference to the value of the 'concatPosition' attribute.
|
inline |
Get the value of the 'end' attribute.
|
inline |
Get the value of the 'key' attribute.
|
inline |
Get the value of the 'recordIndex' attribute.
|
inline |
Get the value of the 'shufflePosition' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'byteOffset' attribute was set.
byteOffset' attribute was set.
|
inline |
Determine if the 'concatPosition' attribute was set.
concatPosition' attribute was set.
|
inline |
Determine if the 'end' attribute was set.
end' attribute was set.
|
inline |
Determine if the 'key' attribute was set.
key' attribute was set.
|
inline |
Determine if the 'recordIndex' attribute was set.
recordIndex' attribute was set.
|
inline |
Determine if the 'shufflePosition' attribute was set.
shufflePosition' attribute was set. | ConcatPosition google_dataflow_api::Position::mutable_concatPosition | ( | ) |
Gets a reference to a mutable value of the 'concatPosition' property.
CloudPosition is a concat position.
|
static |
Creates a new default instance.
|
inline |
|
inline |
Change the 'end' attribute.
Position is past all other positions. Also useful for the end position of an unbounded range.
| [in] | value | The new value. |
|
inline |
Change the 'key' attribute.
Position is a string key, ordered lexicographically.
| [in] | value | The new value. |
|
inline |
|
inline |
Change the 'shufflePosition' attribute.
CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).
| [in] | value | The new value. |