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