public static enum HiveMetastore.LockLevel extends Enum<HiveMetastore.LockLevel> implements com.google.protobuf.ProtocolMessageEnum
org.apache.hadoop.hive.metastore.grpc.LockLevel| Enum Constant and Description |
|---|
LOCK_LEVEL_DB
LOCK_LEVEL_DB = 1; |
LOCK_LEVEL_PARTITION
LOCK_LEVEL_PARTITION = 3; |
LOCK_LEVEL_TABLE
LOCK_LEVEL_TABLE = 2; |
LOCK_LEVEL_UNSPECIFIED
LOCK_LEVEL_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
LOCK_LEVEL_DB_VALUE
LOCK_LEVEL_DB = 1; |
static int |
LOCK_LEVEL_PARTITION_VALUE
LOCK_LEVEL_PARTITION = 3; |
static int |
LOCK_LEVEL_TABLE_VALUE
LOCK_LEVEL_TABLE = 2; |
static int |
LOCK_LEVEL_UNSPECIFIED_VALUE
LOCK_LEVEL_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static HiveMetastore.LockLevel |
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.LockLevel> |
internalGetValueMap() |
static HiveMetastore.LockLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HiveMetastore.LockLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HiveMetastore.LockLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveMetastore.LockLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveMetastore.LockLevel LOCK_LEVEL_UNSPECIFIED
LOCK_LEVEL_UNSPECIFIED = 0;public static final HiveMetastore.LockLevel LOCK_LEVEL_DB
LOCK_LEVEL_DB = 1;public static final HiveMetastore.LockLevel LOCK_LEVEL_TABLE
LOCK_LEVEL_TABLE = 2;public static final HiveMetastore.LockLevel LOCK_LEVEL_PARTITION
LOCK_LEVEL_PARTITION = 3;public static final HiveMetastore.LockLevel UNRECOGNIZED
public static final int LOCK_LEVEL_UNSPECIFIED_VALUE
LOCK_LEVEL_UNSPECIFIED = 0;public static final int LOCK_LEVEL_DB_VALUE
LOCK_LEVEL_DB = 1;public static final int LOCK_LEVEL_TABLE_VALUE
LOCK_LEVEL_TABLE = 2;public static final int LOCK_LEVEL_PARTITION_VALUE
LOCK_LEVEL_PARTITION = 3;public static HiveMetastore.LockLevel[] values()
for (HiveMetastore.LockLevel c : HiveMetastore.LockLevel.values()) System.out.println(c);
public static HiveMetastore.LockLevel 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.ProtocolMessageEnum@Deprecated public static HiveMetastore.LockLevel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static HiveMetastore.LockLevel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HiveMetastore.LockLevel> 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 HiveMetastore.LockLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 The Apache Software Foundation. All rights reserved.