public static enum HiveMetastore.HiveObjectType extends Enum<HiveMetastore.HiveObjectType> implements com.google.protobuf.ProtocolMessageEnum
org.apache.hadoop.hive.metastore.grpc.HiveObjectType
Enum Constant and Description |
---|
HIVE_OBJECT_TYPE_COLUMN
HIVE_OBJECT_TYPE_COLUMN = 5; |
HIVE_OBJECT_TYPE_DATABASE
HIVE_OBJECT_TYPE_DATABASE = 2; |
HIVE_OBJECT_TYPE_DATACONNECTOR
HIVE_OBJECT_TYPE_DATACONNECTOR = 6; |
HIVE_OBJECT_TYPE_GLOBAL
HIVE_OBJECT_TYPE_GLOBAL = 1; |
HIVE_OBJECT_TYPE_PARTITION
HIVE_OBJECT_TYPE_PARTITION = 4; |
HIVE_OBJECT_TYPE_TABLE
HIVE_OBJECT_TYPE_TABLE = 3; |
HIVE_OBJECT_TYPE_UNSPECIFIED
HIVE_OBJECT_TYPE_UNSPECIFIED = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
HIVE_OBJECT_TYPE_COLUMN_VALUE
HIVE_OBJECT_TYPE_COLUMN = 5; |
static int |
HIVE_OBJECT_TYPE_DATABASE_VALUE
HIVE_OBJECT_TYPE_DATABASE = 2; |
static int |
HIVE_OBJECT_TYPE_DATACONNECTOR_VALUE
HIVE_OBJECT_TYPE_DATACONNECTOR = 6; |
static int |
HIVE_OBJECT_TYPE_GLOBAL_VALUE
HIVE_OBJECT_TYPE_GLOBAL = 1; |
static int |
HIVE_OBJECT_TYPE_PARTITION_VALUE
HIVE_OBJECT_TYPE_PARTITION = 4; |
static int |
HIVE_OBJECT_TYPE_TABLE_VALUE
HIVE_OBJECT_TYPE_TABLE = 3; |
static int |
HIVE_OBJECT_TYPE_UNSPECIFIED_VALUE
HIVE_OBJECT_TYPE_UNSPECIFIED = 0; |
Modifier and Type | Method and Description |
---|---|
static HiveMetastore.HiveObjectType |
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<HiveMetastore.HiveObjectType> |
internalGetValueMap() |
static HiveMetastore.HiveObjectType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HiveMetastore.HiveObjectType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HiveMetastore.HiveObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveMetastore.HiveObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveMetastore.HiveObjectType HIVE_OBJECT_TYPE_UNSPECIFIED
HIVE_OBJECT_TYPE_UNSPECIFIED = 0;
public static final HiveMetastore.HiveObjectType HIVE_OBJECT_TYPE_GLOBAL
HIVE_OBJECT_TYPE_GLOBAL = 1;
public static final HiveMetastore.HiveObjectType HIVE_OBJECT_TYPE_DATABASE
HIVE_OBJECT_TYPE_DATABASE = 2;
public static final HiveMetastore.HiveObjectType HIVE_OBJECT_TYPE_TABLE
HIVE_OBJECT_TYPE_TABLE = 3;
public static final HiveMetastore.HiveObjectType HIVE_OBJECT_TYPE_PARTITION
HIVE_OBJECT_TYPE_PARTITION = 4;
public static final HiveMetastore.HiveObjectType HIVE_OBJECT_TYPE_COLUMN
HIVE_OBJECT_TYPE_COLUMN = 5;
public static final HiveMetastore.HiveObjectType HIVE_OBJECT_TYPE_DATACONNECTOR
HIVE_OBJECT_TYPE_DATACONNECTOR = 6;
public static final HiveMetastore.HiveObjectType UNRECOGNIZED
public static final int HIVE_OBJECT_TYPE_UNSPECIFIED_VALUE
HIVE_OBJECT_TYPE_UNSPECIFIED = 0;
public static final int HIVE_OBJECT_TYPE_GLOBAL_VALUE
HIVE_OBJECT_TYPE_GLOBAL = 1;
public static final int HIVE_OBJECT_TYPE_DATABASE_VALUE
HIVE_OBJECT_TYPE_DATABASE = 2;
public static final int HIVE_OBJECT_TYPE_TABLE_VALUE
HIVE_OBJECT_TYPE_TABLE = 3;
public static final int HIVE_OBJECT_TYPE_PARTITION_VALUE
HIVE_OBJECT_TYPE_PARTITION = 4;
public static final int HIVE_OBJECT_TYPE_COLUMN_VALUE
HIVE_OBJECT_TYPE_COLUMN = 5;
public static final int HIVE_OBJECT_TYPE_DATACONNECTOR_VALUE
HIVE_OBJECT_TYPE_DATACONNECTOR = 6;
public static HiveMetastore.HiveObjectType[] values()
for (HiveMetastore.HiveObjectType c : HiveMetastore.HiveObjectType.values()) System.out.println(c);
public static HiveMetastore.HiveObjectType 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 HiveMetastore.HiveObjectType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static HiveMetastore.HiveObjectType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HiveMetastore.HiveObjectType> 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 HiveMetastore.HiveObjectType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 The Apache Software Foundation. All rights reserved.