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