Cloud Spanner V1 Client - Class QueryMode (1.59.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class QueryMode.

Mode in which the statement must be processed.

Protobuf type google.spanner.v1.ExecuteSqlRequest.QueryMode

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

NORMAL

Value: 0

The default mode. Only the statement results are returned.

Generated from protobuf enum NORMAL = 0;

PLAN

Value: 1

This mode returns only the query plan, without any results or execution statistics information.

Generated from protobuf enum PLAN = 1;

PROFILE

Value: 2

This mode returns both the query plan and the execution statistics along with the results.

Generated from protobuf enum PROFILE = 2;