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

A model used to represent a catalog metadata version. 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 metadata version. More...
 
int64_t & GetMutableVersion ()
 Gets a mutable reference to the catalog metadata version. More...
 
void SetVersion (const int64_t &value)
 Sets the catalog metadata version for the request. More...
 

Detailed Description

A model used to represent a catalog metadata version.

The version is incremented every time catalog metadata is changed. For example, when you publish new partitions to durable layers, the catalog metadata version changes.

Member Function Documentation

◆ GetMutableVersion()

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

Gets a mutable reference to the catalog metadata version.

Returns
The mutable reference to the catalog metadata version.

◆ GetVersion()

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

Gets the catalog metadata version.

Returns
The catalog metadata version.

◆ SetVersion()

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

Sets the catalog metadata version for the request.

Parameters
valueThe catalog metadata version.

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