Enum ExecuteSqlRequest.QueryMode (6.51.0)

public enum ExecuteSqlRequest.QueryMode extends Enum<ExecuteSqlRequest.QueryMode> implements ProtocolMessageEnum

Mode in which the statement must be processed.

Protobuf enum google.spanner.v1.ExecuteSqlRequest.QueryMode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
NORMAL

The default mode. Only the statement results are returned.

NORMAL = 0;

NORMAL_VALUE

The default mode. Only the statement results are returned.

NORMAL = 0;

PLAN

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

PLAN = 1;

PLAN_VALUE

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

PLAN = 1;

PROFILE

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

PROFILE = 2;

PROFILE_VALUE

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

PROFILE = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()