public static enum CatalogProtos.AlterTableType extends Enum<CatalogProtos.AlterTableType> implements com.google.protobuf.ProtocolMessageEnum
AlterTableType
Enum Constant and Description |
---|
ADD_COLUMN
ADD_COLUMN = 2; |
RENAME_COLUMN
RENAME_COLUMN = 1; |
RENAME_TABLE
RENAME_TABLE = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
ADD_COLUMN_VALUE
ADD_COLUMN = 2; |
static int |
RENAME_COLUMN_VALUE
RENAME_COLUMN = 1; |
static int |
RENAME_TABLE_VALUE
RENAME_TABLE = 0; |
Modifier and Type | Method and Description |
---|---|
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<CatalogProtos.AlterTableType> |
internalGetValueMap() |
static CatalogProtos.AlterTableType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CatalogProtos.AlterTableType |
valueOf(int value) |
static CatalogProtos.AlterTableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CatalogProtos.AlterTableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CatalogProtos.AlterTableType RENAME_TABLE
RENAME_TABLE = 0;
public static final CatalogProtos.AlterTableType RENAME_COLUMN
RENAME_COLUMN = 1;
public static final CatalogProtos.AlterTableType ADD_COLUMN
ADD_COLUMN = 2;
public static final int RENAME_TABLE_VALUE
RENAME_TABLE = 0;
public static final int RENAME_COLUMN_VALUE
RENAME_COLUMN = 1;
public static final int ADD_COLUMN_VALUE
ADD_COLUMN = 2;
public static CatalogProtos.AlterTableType[] values()
for (CatalogProtos.AlterTableType c : CatalogProtos.AlterTableType.values()) System.out.println(c);
public static CatalogProtos.AlterTableType 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
public static CatalogProtos.AlterTableType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<CatalogProtos.AlterTableType> 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 CatalogProtos.AlterTableType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.