An offset in a specific partition of a stream layer.
More...
#include <StreamOffsets.h>
|
int32_t | GetPartition () const |
| Gets the partition of the stream layer for which this offset applies. More...
|
|
void | SetPartition (int32_t value) |
| Sets the partition of the stream layer. More...
|
|
int64_t | GetOffset () const |
| Gets the offset in the partition of the stream layer. More...
|
|
void | SetOffset (int64_t value) |
| Sets the offset for the request. More...
|
|
An offset in a specific partition of a stream layer.
◆ GetOffset()
int64_t olp::dataservice::read::model::StreamOffset::GetOffset |
( |
| ) |
const |
|
inline |
Gets the offset in the partition of the stream layer.
- Returns
- The offset in the stream layer partition.
◆ GetPartition()
int32_t olp::dataservice::read::model::StreamOffset::GetPartition |
( |
| ) |
const |
|
inline |
Gets the partition of the stream layer for which this offset applies.
- Returns
- The partition of the stream layer for which this offset applies.
◆ SetOffset()
void olp::dataservice::read::model::StreamOffset::SetOffset |
( |
int64_t |
value | ) |
|
|
inline |
Sets the offset for the request.
- Parameters
-
value | The offset in the stream layer partition. |
◆ SetPartition()
void olp::dataservice::read::model::StreamOffset::SetPartition |
( |
int32_t |
value | ) |
|
|
inline |
Sets the partition of the stream layer.
- Parameters
-
value | The partition of the stream layer for which this offset applies. |
The documentation for this class was generated from the following file:
- olp-cpp-sdk-dataservice-read/include/olp/dataservice/read/model/StreamOffsets.h