public static enum ExecuteSqlRequest.QueryMode extends Enum<ExecuteSqlRequest.QueryMode> implements com.google.protobuf.ProtocolMessageEnum
Mode in which the statement must be processed.Protobuf enum
google.spanner.v1.ExecuteSqlRequest.QueryMode| Enum Constant and Description |
|---|
NORMAL
The default mode.
|
PLAN
This mode returns only the query plan, without any results or
execution statistics information.
|
PROFILE
This mode returns both the query plan and the execution statistics along
with the results.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NORMAL_VALUE
The default mode.
|
static int |
PLAN_VALUE
This mode returns only the query plan, without any results or
execution statistics information.
|
static int |
PROFILE_VALUE
This mode returns both the query plan and the execution statistics along
with the results.
|
| Modifier and Type | Method and Description |
|---|---|
static ExecuteSqlRequest.QueryMode |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ExecuteSqlRequest.QueryMode> |
internalGetValueMap() |
static ExecuteSqlRequest.QueryMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ExecuteSqlRequest.QueryMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ExecuteSqlRequest.QueryMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecuteSqlRequest.QueryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecuteSqlRequest.QueryMode NORMAL
The default mode. Only the statement results are returned.
NORMAL = 0;public static final ExecuteSqlRequest.QueryMode PLAN
This mode returns only the query plan, without any results or execution statistics information.
PLAN = 1;public static final ExecuteSqlRequest.QueryMode PROFILE
This mode returns both the query plan and the execution statistics along with the results.
PROFILE = 2;public static final ExecuteSqlRequest.QueryMode UNRECOGNIZED
public static final int NORMAL_VALUE
The default mode. Only the statement results are returned.
NORMAL = 0;public static final int PLAN_VALUE
This mode returns only the query plan, without any results or execution statistics information.
PLAN = 1;public static final int PROFILE_VALUE
This mode returns both the query plan and the execution statistics along with the results.
PROFILE = 2;public static ExecuteSqlRequest.QueryMode[] values()
for (ExecuteSqlRequest.QueryMode c : ExecuteSqlRequest.QueryMode.values()) System.out.println(c);
public static ExecuteSqlRequest.QueryMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ExecuteSqlRequest.QueryMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ExecuteSqlRequest.QueryMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ExecuteSqlRequest.QueryMode> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ExecuteSqlRequest.QueryMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.