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