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

A paritioning scheme of the catalog. More...

#include <Catalog.h>

Public Member Functions

 Partitioning (const Partitioning &)=default
 
 Partitioning (Partitioning &&)=default
 
Partitioningoperator= (const Partitioning &)=default
 
Partitioningoperator= (Partitioning &&)=default
 
const std::string & GetScheme () const
 Gets the name of the catalog partitioning scheme. More...
 
std::string & GetMutableScheme ()
 Gets a mutable reference to the name of the catalog partitioning scheme. More...
 
void SetScheme (const std::string &value)
 Sets the name of the catalog partitioning scheme. More...
 
const std::vector< int64_t > & GetTileLevels () const
 Gets the list of the quad tree tile levels that contain data partitions. More...
 
std::vector< int64_t > & GetMutableTileLevels ()
 Gets a mutable reference to the list of the quad tree tile levels that contain data partitions. More...
 
void SetTileLevels (const std::vector< int64_t > &value)
 Sets the list of the quadtree tile levels that contain data partitions. More...
 

Detailed Description

A paritioning scheme of the catalog.

Member Function Documentation

◆ GetMutableScheme()

std::string& olp::dataservice::read::model::Partitioning::GetMutableScheme ( )
inline

Gets a mutable reference to the name of the catalog partitioning scheme.

See also
GetScheme for information on the catalog partitioning scheme.
Returns
The mutable reference to the name of the catalog partitioning scheme.

◆ GetMutableTileLevels()

std::vector<int64_t>& olp::dataservice::read::model::Partitioning::GetMutableTileLevels ( )
inline

Gets a mutable reference to the list of the quad tree tile levels that contain data partitions.

Only used if the partitioning scheme is HERE Tile.

Returns
The mutable reference to the list of the quad tree tile levels that contain data partitions.

◆ GetScheme()

const std::string& olp::dataservice::read::model::Partitioning::GetScheme ( ) const
inline

Gets the name of the catalog partitioning scheme.

The partitioning scheme can be generic or HERE tile.

See also
Generic Partitioninc and HERE Tile Partitioning sections in the Get Started guide.
Returns
The name of the catalog partitioning scheme.

◆ GetTileLevels()

const std::vector<int64_t>& olp::dataservice::read::model::Partitioning::GetTileLevels ( ) const
inline

Gets the list of the quad tree tile levels that contain data partitions.

Only used if the partitioning scheme is HERE Tile.

Returns
The list of the quad tree tile levels that contain data partitions.

◆ SetScheme()

void olp::dataservice::read::model::Partitioning::SetScheme ( const std::string &  value)
inline

Sets the name of the catalog partitioning scheme.

See also
GetScheme for information on the catalog partitioning scheme.
Parameters
valueThe name of the catalog partitioning scheme.

◆ SetTileLevels()

void olp::dataservice::read::model::Partitioning::SetTileLevels ( const std::vector< int64_t > &  value)
inline

Sets the list of the quadtree tile levels that contain data partitions.

Parameters
valueThe list of the quadtree tile levels that contain data partitions.

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