olp-cpp-sdk  1.22.0
Public Member Functions | List of all members
olp::dataservice::write::model::VersionResponse Class Reference

Represents the version of the catalog metadata. More...

#include <VersionResponse.h>

Public Member Functions

 VersionResponse (const VersionResponse &)=default
 
 VersionResponse (VersionResponse &&)=default
 
VersionResponseoperator= (const VersionResponse &)=default
 
VersionResponseoperator= (VersionResponse &&)=default
 
const int64_t & GetVersion () const
 Gets the catalog version number of this response. More...
 
int64_t & GetMutableVersion ()
 Get a mutable reference to the catalog version number of this response. More...
 
void SetVersion (const int64_t &value)
 Sets the catalog version number of this response. More...
 

Detailed Description

Represents the version of the catalog metadata.

It is incremented every time catalog metadata is changed. For example, when new partitions are published to durable layers.

Member Function Documentation

◆ GetMutableVersion()

int64_t& olp::dataservice::write::model::VersionResponse::GetMutableVersion ( )
inline

Get a mutable reference to the catalog version number of this response.

Returns
The catalog version number.

◆ GetVersion()

const int64_t& olp::dataservice::write::model::VersionResponse::GetVersion ( ) const
inline

Gets the catalog version number of this response.

Returns
The catalog version number.

◆ SetVersion()

void olp::dataservice::write::model::VersionResponse::SetVersion ( const int64_t &  value)
inline

Sets the catalog version number of this response.

Parameters
valueThe catalog version number.

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