Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
|
Options passed to Client::PartitionRead
or Client::PartitionQuery
.
More...
#include <google/cloud/spanner/partition_options.h>
Public Attributes | |
absl::optional< std::int64_t > | partition_size_bytes |
The desired data size for each partition generated. More... | |
absl::optional< std::int64_t > | max_partitions |
The desired maximum number of partitions to return. More... | |
bool | data_boost = false |
Use "data boost" in the returned partitions. More... | |
Options passed to Client::PartitionRead
or Client::PartitionQuery
.
See documentation in spanner.proto.
bool google::cloud::spanner::PartitionOptions::data_boost = false |
Use "data boost" in the returned partitions.
If true, the requests from the subsequent partitioned Client::Read()
and Client::ExecuteQuery()
calls will be executed using the independent compute resources of Cloud Spanner Data Boost.
absl::optional<std::int64_t> google::cloud::spanner::PartitionOptions::max_partitions |
The desired maximum number of partitions to return.
For example, this may be set to the number of workers available. The default for this option is currently 10,000. The maximum value is currently 200,000. This is only a hint. The actual number of partitions returned may be smaller or larger than this maximum count request.
absl::optional<std::int64_t> google::cloud::spanner::PartitionOptions::partition_size_bytes |
The desired data size for each partition generated.
The default for this option is currently 1 GiB. This is only a hint. The actual size of each partition may be smaller or larger than this size request.