queryMode property
Used to control the amount of debugging information returned in ResultSetStats.
If partition_token is set, query_mode can only be set to QueryMode.NORMAL. Possible string values are:
- "NORMAL" : The default mode. Only the statement results are returned.
- "PLAN" : This mode returns only the query plan, without any results or execution statistics information.
- "PROFILE" : 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" : This mode returns the overall (but not operator-level) execution statistics along with the results.
- "WITH_PLAN_AND_STATS" : This mode returns the query plan, overall (but not operator-level) execution statistics along with the results.
Implementation
core.String? queryMode;