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
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
NORMAL | The default mode. Only the statement results are returned.
|
NORMAL_VALUE | The default mode. Only the statement results are returned.
|
PLAN | This mode returns only the query plan, without any results or execution statistics information.
|
PLAN_VALUE | 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.
|
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.
|
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_VALUE | This mode returns the query plan, overall (but not operator-level) execution statistics along with the results.
|
WITH_STATS | This mode returns the overall (but not operator-level) execution statistics along with the results.
|
WITH_STATS_VALUE | This mode returns the overall (but not operator-level) execution statistics along with the results.
|
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() |