Cloud Spanner V1 API - Module Google::Cloud::Spanner::V1::ExecuteSqlRequest::QueryMode (v1.2.0)

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 is not 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.