olp-cpp-sdk  1.22.0
Public Member Functions | List of all members
olp::dataservice::read::model::StreamOffset Class Referencefinal

An offset in a specific partition of a stream layer. More...

#include <StreamOffsets.h>

Public Member Functions

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...
 

Detailed Description

An offset in a specific partition of a stream layer.

Member Function Documentation

◆ 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
valueThe 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
valueThe partition of the stream layer for which this offset applies.

The documentation for this class was generated from the following file: