These QueryOptions allow users to configure features about how their SQL queries executes on the server.
More...
#include <google/cloud/spanner/query_options.h>
◆ QueryOptions() [1/4]
google::cloud::spanner::QueryOptions::QueryOptions |
( |
| ) |
|
|
default |
◆ QueryOptions() [2/4]
google::cloud::spanner::QueryOptions::QueryOptions |
( |
QueryOptions const & |
| ) |
|
|
default |
◆ QueryOptions() [3/4]
google::cloud::spanner::QueryOptions::QueryOptions |
( |
QueryOptions && |
| ) |
|
|
default |
◆ QueryOptions() [4/4]
google::cloud::spanner::QueryOptions::QueryOptions |
( |
Options const & |
opts | ) |
|
|
explicit |
◆ operator Options()
google::cloud::spanner::QueryOptions::operator Options |
( |
| ) |
const |
|
explicit |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ optimizer_statistics_package()
absl::optional< std::string > const & google::cloud::spanner::QueryOptions::optimizer_statistics_package |
( |
| ) |
const |
|
inline |
Returns the optimizer statistics package.
◆ optimizer_version()
absl::optional< std::string > const & google::cloud::spanner::QueryOptions::optimizer_version |
( |
| ) |
const |
|
inline |
Returns the optimizer version.
◆ request_priority()
absl::optional< RequestPriority > const & google::cloud::spanner::QueryOptions::request_priority |
( |
| ) |
const |
|
inline |
Returns the request priority.
◆ request_tag()
absl::optional< std::string > const & google::cloud::spanner::QueryOptions::request_tag |
( |
| ) |
const |
|
inline |
◆ set_optimizer_statistics_package()
QueryOptions & google::cloud::spanner::QueryOptions::set_optimizer_statistics_package |
( |
absl::optional< std::string > |
stats_package | ) |
|
|
inline |
Sets the optimizer statistics package to the specified string.
Setting to the empty string will use the database default.
◆ set_optimizer_version()
QueryOptions & google::cloud::spanner::QueryOptions::set_optimizer_version |
( |
absl::optional< std::string > |
version | ) |
|
|
inline |
Sets the optimizer version to the specified integer string.
Setting to the empty string will use the database default. Use the string "latest" to use the latest available optimizer version.
◆ set_request_priority()
Sets the request priority.
◆ set_request_tag()
QueryOptions & google::cloud::spanner::QueryOptions::set_request_tag |
( |
absl::optional< std::string > |
tag | ) |
|
|
inline |
◆ operator!=
◆ operator==