olp-cpp-sdk
1.22.0
|
A model that represents a partition in a layer. More...
#include <Partitions.h>
Public Member Functions | |
Partition (const Partition &)=default | |
Partition (Partition &&)=default | |
Partition & | operator= (const Partition &)=default |
Partition & | operator= (Partition &&)=default |
const boost::optional< std::string > & | GetChecksum () const |
(Optional) Gets the partition checksum. More... | |
boost::optional< std::string > & | GetMutableChecksum () |
(Optional) Gets a mutable reference to the partition checksum. More... | |
void | SetChecksum (boost::optional< std::string > value) |
(Optional) Sets the partition checksum. More... | |
const boost::optional< int64_t > & | GetCompressedDataSize () const |
(Optional) Gets the compressed size of the partition data in bytes when data compression is enabled. More... | |
boost::optional< int64_t > & | GetMutableCompressedDataSize () |
(Optional) Gets a mutable reference to the compressed size of the partition data in bytes when data compression is enabled. More... | |
void | SetCompressedDataSize (boost::optional< int64_t > value) |
(Optional) Sets the compressed size of the partition data. More... | |
const std::string & | GetDataHandle () const |
Get the partition data handle. More... | |
std::string & | GetMutableDataHandle () |
Gets a mutable reference to the partition data handle. More... | |
void | SetDataHandle (std::string value) |
Sets the partition data handle. More... | |
const boost::optional< int64_t > & | GetDataSize () const |
(Optional) Gets the uncompressed size of the partition data in bytes. More... | |
boost::optional< int64_t > & | GetMutableDataSize () |
(Optional) Gets a mutable reference to the uncompressed size of the partition data in bytes. More... | |
void | SetDataSize (boost::optional< int64_t > value) |
(Optional) Sets the uncompressed size of the partition data. More... | |
const boost::optional< std::string > & | GetCrc () const |
boost::optional< std::string > & | GetMutableCrc () |
(Optional) Gets a mutable reference to the partition crc. More... | |
void | SetCrc (boost::optional< std::string > value) |
(Optional) Sets the partition crc. More... | |
const std::string & | GetPartition () const |
Gets the partition key. More... | |
std::string & | GetMutablePartition () |
Gets a mutable reference to the partition key. More... | |
void | SetPartition (std::string value) |
Sets the partition key. More... | |
const boost::optional< int64_t > & | GetVersion () const |
(Optional) Gets the version of the catalog when this partition was last changed. More... | |
boost::optional< int64_t > & | GetMutableVersion () |
(Optional) Gets a mutable reference to the version of the catalog when this partition was last changed. More... | |
void | SetVersion (boost::optional< int64_t > value) |
(Optional) Sets the partition version. More... | |
A model that represents a partition in a layer.
|
inline |
(Optional) Gets the partition checksum.
It is only provided to the API calls that explicitly request a checksum and only matches partitions that have a checksum defined. You can request partitions with a specific checksum by using the additionalFields
query parameter. If you need to compare data sets for this catalog, set this field to match the SHA-1
checksum of the corresponding data blob. The maximum length of the checksum field is 128 characters.
|
inline |
(Optional) Gets the compressed size of the partition data in bytes when data compression is enabled.
It is only provided to the API calls that explicitly request the compressed data size and only matches partitions that have a compressed data size defined. You can request partitions with a specific compressed data size by using the additionalFields
query parameter.
|
inline |
Optional value for the CRC of the partition data in bytes.
The response only includes the data size if you specify crc in the additionalFields query parameter, and if crc was specified in the partition metadata when it was published.
|
inline |
Get the partition data handle.
You use the data handle to retrieve the data that relates to this partition. The data handle identifies a specific blob so that you can request the blob contents with the Blob API. When requesting data from the Blob API, you must specify the catalog ID, layer ID, and data handle.
|
inline |
(Optional) Gets the uncompressed size of the partition data in bytes.
It is only provided to the API calls that explicitly request the data size and only matches partitions that have a data size defined. You can request partitions with a specific data size by using the additionalFields
query parameter.
|
inline |
(Optional) Gets a mutable reference to the partition checksum.
GetChecksum
for information on the checksum.
|
inline |
(Optional) Gets a mutable reference to the compressed size of the partition data in bytes when data compression is enabled.
GetCompressedDataSize
for information on the compressed size of the partition data.
|
inline |
(Optional) Gets a mutable reference to the partition crc.
GetCrc
for information on the crc.
|
inline |
Gets a mutable reference to the partition data handle.
GetPartition
for information on the partition data handle.
|
inline |
(Optional) Gets a mutable reference to the uncompressed size of the partition data in bytes.
GetDataSize
for information on the uncompressed size of the partition data.
|
inline |
Gets a mutable reference to the partition key.
GetPartition
for information on the partition key.
|
inline |
(Optional) Gets a mutable reference to the version of the catalog when this partition was last changed.
GetVersion
for information on partition versions.
|
inline |
Gets the partition key.
It is a unique key for a partition within a layer. If the layer partitioning scheme is HERE Tile, the partition key is equivalent to the tile key. The partition key cannot be empty. The maximum length of the partition key is 500 characters.
|
inline |
(Optional) Gets the version of the catalog when this partition was last changed.
It is only provided for active versioned partitions.
|
inline |
(Optional) Sets the partition checksum.
GetChecksum
for information on the checksum.value | The partition checksum. |
|
inline |
(Optional) Sets the compressed size of the partition data.
GetCompressedDataSize
for information on the compressed size of the partition data.value | The compressed size of the partition data. |
|
inline |
(Optional) Sets the partition crc.
GetCrc
for information on the crc.value | The partition crc. |
|
inline |
Sets the partition data handle.
GetPartition
for information on the partition data handle.value | The partition data handle. |
|
inline |
(Optional) Sets the uncompressed size of the partition data.
GetDataSize
for information on the uncompressed size of the partition data.value | The uncompressed size of the partition data. |
|
inline |
Sets the partition key.
GetPartition
for information on the partition key.value | The partition key. |
|
inline |
(Optional) Sets the partition version.
GetVersion
for information on partition versions.value | The version of the catalog when this partition was last changed. |