public static enum UserBitShared.QueryType extends Enum<UserBitShared.QueryType> implements com.google.protobuf.ProtocolMessageEnum
exec.shared.QueryType
Enum Constant and Description |
---|
EXECUTION
EXECUTION = 4; |
LOGICAL
LOGICAL = 2; |
PHYSICAL
PHYSICAL = 3; |
PREPARED_STATEMENT
Input is a prepared statement
|
SQL
SQL = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
EXECUTION_VALUE
EXECUTION = 4; |
static int |
LOGICAL_VALUE
LOGICAL = 2; |
static int |
PHYSICAL_VALUE
PHYSICAL = 3; |
static int |
PREPARED_STATEMENT_VALUE
Input is a prepared statement
|
static int |
SQL_VALUE
SQL = 1; |
Modifier and Type | Method and Description |
---|---|
static UserBitShared.QueryType |
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<UserBitShared.QueryType> |
internalGetValueMap() |
static UserBitShared.QueryType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserBitShared.QueryType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserBitShared.QueryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserBitShared.QueryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserBitShared.QueryType SQL
SQL = 1;
public static final UserBitShared.QueryType LOGICAL
LOGICAL = 2;
public static final UserBitShared.QueryType PHYSICAL
PHYSICAL = 3;
public static final UserBitShared.QueryType EXECUTION
EXECUTION = 4;
public static final UserBitShared.QueryType PREPARED_STATEMENT
Input is a prepared statement
PREPARED_STATEMENT = 5;
public static final int SQL_VALUE
SQL = 1;
public static final int LOGICAL_VALUE
LOGICAL = 2;
public static final int PHYSICAL_VALUE
PHYSICAL = 3;
public static final int EXECUTION_VALUE
EXECUTION = 4;
public static final int PREPARED_STATEMENT_VALUE
Input is a prepared statement
PREPARED_STATEMENT = 5;
public static UserBitShared.QueryType[] values()
for (UserBitShared.QueryType c : UserBitShared.QueryType.values()) System.out.println(c);
public static UserBitShared.QueryType 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static UserBitShared.QueryType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static UserBitShared.QueryType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserBitShared.QueryType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UserBitShared.QueryType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 1970 The Apache Software Foundation. All rights reserved.