@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") public enum QueryState extends Enum<QueryState> implements org.apache.thrift.TEnum
| Enum Constant and Description |
|---|
AUTO_DISABLED |
EXECUTING |
FAILED |
FINISHED |
INITED |
TIMED_OUT |
| Modifier and Type | Method and Description |
|---|---|
static QueryState |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static QueryState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryState INITED
public static final QueryState EXECUTING
public static final QueryState FAILED
public static final QueryState FINISHED
public static final QueryState TIMED_OUT
public static final QueryState AUTO_DISABLED
public static QueryState[] values()
for (QueryState c : QueryState.values()) System.out.println(c);
public static 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 int getValue()
getValue in interface org.apache.thrift.TEnumpublic static QueryState findByValue(int value)
Copyright © 2024 The Apache Software Foundation. All rights reserved.