public static enum Common.StatementType extends Enum<Common.StatementType> implements com.google.protobuf.ProtocolMessageEnum
Has to be consistent with Meta.StatementTypeProtobuf enum
StatementType
Enum Constant and Description |
---|
ALTER
ALTER = 9; |
CALL
CALL = 11; |
CREATE
CREATE = 7; |
DELETE
DELETE = 3; |
DROP
DROP = 8; |
INSERT
INSERT = 1; |
MERGE
MERGE = 5; |
OTHER_DDL
OTHER_DDL = 10; |
OTHER_DML
OTHER_DML = 6; |
SELECT
SELECT = 0; |
UNRECOGNIZED |
UPDATE
UPDATE = 2; |
UPSERT
UPSERT = 4; |
Modifier and Type | Field and Description |
---|---|
static int |
ALTER_VALUE
ALTER = 9; |
static int |
CALL_VALUE
CALL = 11; |
static int |
CREATE_VALUE
CREATE = 7; |
static int |
DELETE_VALUE
DELETE = 3; |
static int |
DROP_VALUE
DROP = 8; |
static int |
INSERT_VALUE
INSERT = 1; |
static int |
MERGE_VALUE
MERGE = 5; |
static int |
OTHER_DDL_VALUE
OTHER_DDL = 10; |
static int |
OTHER_DML_VALUE
OTHER_DML = 6; |
static int |
SELECT_VALUE
SELECT = 0; |
static int |
UPDATE_VALUE
UPDATE = 2; |
static int |
UPSERT_VALUE
UPSERT = 4; |
Modifier and Type | Method and Description |
---|---|
static Common.StatementType |
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<Common.StatementType> |
internalGetValueMap() |
static Common.StatementType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Common.StatementType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Common.StatementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Common.StatementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Common.StatementType SELECT
SELECT = 0;
public static final Common.StatementType INSERT
INSERT = 1;
public static final Common.StatementType UPDATE
UPDATE = 2;
public static final Common.StatementType DELETE
DELETE = 3;
public static final Common.StatementType UPSERT
UPSERT = 4;
public static final Common.StatementType MERGE
MERGE = 5;
public static final Common.StatementType OTHER_DML
OTHER_DML = 6;
public static final Common.StatementType CREATE
CREATE = 7;
public static final Common.StatementType DROP
DROP = 8;
public static final Common.StatementType ALTER
ALTER = 9;
public static final Common.StatementType OTHER_DDL
OTHER_DDL = 10;
public static final Common.StatementType CALL
CALL = 11;
public static final Common.StatementType UNRECOGNIZED
public static final int SELECT_VALUE
SELECT = 0;
public static final int INSERT_VALUE
INSERT = 1;
public static final int UPDATE_VALUE
UPDATE = 2;
public static final int DELETE_VALUE
DELETE = 3;
public static final int UPSERT_VALUE
UPSERT = 4;
public static final int MERGE_VALUE
MERGE = 5;
public static final int OTHER_DML_VALUE
OTHER_DML = 6;
public static final int CREATE_VALUE
CREATE = 7;
public static final int DROP_VALUE
DROP = 8;
public static final int ALTER_VALUE
ALTER = 9;
public static final int OTHER_DDL_VALUE
OTHER_DDL = 10;
public static final int CALL_VALUE
CALL = 11;
public static Common.StatementType[] values()
for (Common.StatementType c : Common.StatementType.values()) System.out.println(c);
public static Common.StatementType 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 Common.StatementType valueOf(int value)
forNumber(int)
instead.public static Common.StatementType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Common.StatementType> 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 Common.StatementType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.