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/3]
google::cloud::spanner::v1::QueryOptions::QueryOptions |
( |
| ) |
|
|
default |
◆ QueryOptions() [2/3]
google::cloud::spanner::v1::QueryOptions::QueryOptions |
( |
QueryOptions const & |
| ) |
|
|
default |
◆ QueryOptions() [3/3]
google::cloud::spanner::v1::QueryOptions::QueryOptions |
( |
QueryOptions && |
| ) |
|
|
default |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ optimizer_statistics_package()
absl::optional<std::string> const& google::cloud::spanner::v1::QueryOptions::optimizer_statistics_package |
( |
| ) |
const |
|
inline |
Returns the optimizer statistics package.
Definition at line 60 of file query_options.h.
◆ optimizer_version()
absl::optional<std::string> const& google::cloud::spanner::v1::QueryOptions::optimizer_version |
( |
| ) |
const |
|
inline |
◆ request_priority()
◆ request_tag()
absl::optional<std::string> const& google::cloud::spanner::v1::QueryOptions::request_tag |
( |
| ) |
const |
|
inline |
◆ set_optimizer_statistics_package()
QueryOptions& google::cloud::spanner::v1::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 68 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 54 of file query_options.h.
◆ set_request_priority()
◆ set_request_tag()
◆ operator!=
◆ operator==