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