Send feedback
Class QueryOptions (2.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.12.0 keyboard_arrow_down
These QueryOptions allow users to configure features about how their SQL queries executes on the server.
Constructors
QueryOptions()
QueryOptions(QueryOptions const &)
Parameter
Name
Description
QueryOptions const &
QueryOptions(QueryOptions &&)
Parameter
Name
Description
QueryOptions &&
QueryOptions(Options const &)
Parameter
Name
Description
opts
Options const &
Operators
operator=(QueryOptions const &)
Parameter
Name
Description
QueryOptions const &
Returns
Type
Description
QueryOptions &
operator=(QueryOptions &&)
Parameter
Name
Description
QueryOptions &&
Returns
Type
Description
QueryOptions &
operator Options() const
Functions
optimizer_version() const
Returns the optimizer version.
Returns
Type
Description
absl::optional< std::string > const &
set_optimizer_version(absl::optional< std::string >)
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.
Parameter
Name
Description
version
absl::optional< std::string >
Returns
Type
Description
QueryOptions &
optimizer_statistics_package() const
Returns the optimizer statistics package.
Returns
Type
Description
absl::optional< std::string > const &
set_optimizer_statistics_package(absl::optional< std::string >)
Sets the optimizer statistics package to the specified string.
Setting to the empty string will use the database default.
Parameter
Name
Description
stats_package
absl::optional< std::string >
Returns
Type
Description
QueryOptions &
request_priority() const
Returns the request priority.
Returns
Type
Description
absl::optional< RequestPriority > const &
set_request_priority(absl::optional< RequestPriority >)
Sets the request priority.
Parameter
Name
Description
priority
absl::optional< RequestPriority >
Returns
Type
Description
QueryOptions &
request_tag() const
Returns
Type
Description
absl::optional< std::string > const &
set_request_tag(absl::optional< std::string >)
Parameter
Name
Description
tag
absl::optional< std::string >
Returns
Type
Description
QueryOptions &
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-30 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-30 UTC."],[],[]]