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

Represents a version info. More...

#include <VersionInfo.h>

Public Member Functions

void SetDependencies (std::vector< VersionDependency > dependencies)
 Sets the vector of version dependencies. More...
 
void SetPartitionCounts (std::map< std::string, std::int64_t > partition_counts)
 Sets the map of partition counts. More...
 
void SetVersion (std::int64_t version)
 Sets the catalog version. More...
 
void SetTimestamp (std::int64_t timestamp)
 Sets the timestamp of the catalog version. More...
 
const std::vector< VersionDependency > & GetDependencies () const
 Gets the vector of version dependencies. More...
 
const std::map< std::string, std::int64_t > & GetPartitionCounts () const
 Gets the map of partition counts. More...
 
std::int64_t GetVersion () const
 Gets the catalog version. More...
 
std::int64_t GetTimestamp () const
 Gets the timestamp of the catalog version. More...
 

Detailed Description

Represents a version info.

Member Function Documentation

◆ GetDependencies()

const std::vector<VersionDependency>& olp::dataservice::read::model::VersionInfo::GetDependencies ( ) const
inline

Gets the vector of version dependencies.

Returns
The vector of version dependencies.

◆ GetPartitionCounts()

const std::map<std::string, std::int64_t>& olp::dataservice::read::model::VersionInfo::GetPartitionCounts ( ) const
inline

Gets the map of partition counts.

Returns
The map of partition counts.

◆ GetTimestamp()

std::int64_t olp::dataservice::read::model::VersionInfo::GetTimestamp ( ) const
inline

Gets the timestamp of the catalog version.

Returns
The timestamp of the catalog version.

◆ GetVersion()

std::int64_t olp::dataservice::read::model::VersionInfo::GetVersion ( ) const
inline

Gets the catalog version.

Returns
The catalog version.

◆ SetDependencies()

void olp::dataservice::read::model::VersionInfo::SetDependencies ( std::vector< VersionDependency dependencies)
inline

Sets the vector of version dependencies.

Parameters
dependenciesThe vector of version dependencies.

◆ SetPartitionCounts()

void olp::dataservice::read::model::VersionInfo::SetPartitionCounts ( std::map< std::string, std::int64_t >  partition_counts)
inline

Sets the map of partition counts.

Parameters
partition_countsThe map of partition counts.

◆ SetTimestamp()

void olp::dataservice::read::model::VersionInfo::SetTimestamp ( std::int64_t  timestamp)
inline

Sets the timestamp of the catalog version.

Parameters
timestampThe timestamp of the catalog version.

◆ SetVersion()

void olp::dataservice::read::model::VersionInfo::SetVersion ( std::int64_t  version)
inline

Sets the catalog version.

Parameters
versionThe catalog version.

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