Cloud Spanner V1 API - Module Google::Cloud::Spanner::V1::ExecuteSqlRequest::QueryMode (v1.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Spanner V1 API module Google::Cloud::Spanner::V1::ExecuteSqlRequest::QueryMode.
Mode in which the statement must be processed.
Constants
NORMAL
value: 0
The default mode. Only the statement results are returned.
PLAN
value: 1
This mode returns only the query plan, without any results or
execution statistics information.
PROFILE
value: 2
This mode returns the query plan, overall execution statistics,
operator level execution statistics along with the results. This has a
performance overhead compared to the other modes. It isn't recommended
to use this mode for production traffic.
WITH_STATS
value: 3
This mode returns the overall (but not operator-level) execution
statistics along with the results.
WITH_PLAN_AND_STATS
value: 4
This mode returns the query plan, overall (but not operator-level)
execution statistics along with the results.
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 2025-10-10 UTC.
[[["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 2025-10-10 UTC."],[],[]]