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