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.
Definition at line 73 of file query_options.h.
◆ optimizer_version()
absl::optional<std::string> const& google::cloud::spanner::QueryOptions::optimizer_version |
( |
| ) |
const |
|
inline |
◆ 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.
Definition at line 81 of file query_options.h.
◆ set_optimizer_version()
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.
Definition at line 67 of file query_options.h.
◆ set_request_priority()
◆ set_request_tag()
◆ operator!=
◆ operator==