Enum ExecuteSqlRequest.QueryMode (6.77.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

Name Description
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 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.

PROFILE = 2;

PROFILE_VALUE

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.

PROFILE = 2;

UNRECOGNIZED
WITH_PLAN_AND_STATS

This mode returns the query plan, overall (but not operator-level) execution statistics along with the results.

WITH_PLAN_AND_STATS = 4;

WITH_PLAN_AND_STATS_VALUE

This mode returns the query plan, overall (but not operator-level) execution statistics along with the results.

WITH_PLAN_AND_STATS = 4;

WITH_STATS

This mode returns the overall (but not operator-level) execution statistics along with the results.

WITH_STATS = 3;

WITH_STATS_VALUE

This mode returns the overall (but not operator-level) execution statistics along with the results.

WITH_STATS = 3;

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()