Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
|
Options passed to Client::Read
or Client::PartitionRead
.
More...
#include <google/cloud/spanner/read_options.h>
Public Attributes | |
std::string | index_name |
If non-empty, the name of an index on a database table. More... | |
std::int64_t | limit = 0 |
Limit on the number of rows to yield, or 0 for no limit. More... | |
absl::optional< RequestPriority > | request_priority |
Priority for the read request. More... | |
absl::optional< std::string > | request_tag |
Tag for the read request. More... | |
Options passed to Client::Read
or Client::PartitionRead
.
std::string google::cloud::spanner::ReadOptions::index_name |
If non-empty, the name of an index on a database table.
This index is used instead of the table primary key when interpreting the KeySet
and sorting result rows.
std::int64_t google::cloud::spanner::ReadOptions::limit = 0 |
Limit on the number of rows to yield, or 0 for no limit.
A limit cannot be specified when calling PartitionRead
.
absl::optional<RequestPriority> google::cloud::spanner::ReadOptions::request_priority |
Priority for the read request.
absl::optional<std::string> google::cloud::spanner::ReadOptions::request_tag |
Tag for the read request.