Package org.apache.drill.exec.proto
Enum UserBitShared.QueryResult.QueryState
java.lang.Object
java.lang.Enum<UserBitShared.QueryResult.QueryState>
org.apache.drill.exec.proto.UserBitShared.QueryResult.QueryState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<UserBitShared.QueryResult.QueryState>
- Enclosing class:
- UserBitShared.QueryResult
public static enum UserBitShared.QueryResult.QueryState
extends Enum<UserBitShared.QueryResult.QueryState>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
exec.shared.QueryResult.QueryState
-
Enum Constant Summary
Enum ConstantDescriptionquery has been cancelled, and all cleanup is completecancellation has been requested, and is being processedquery has completed successfullyquery has been enqueued.FAILED = 4;
query is at planning stage (includes logical or / and physical planning)query is at preparation stage, foreman is initializingRUNNING = 1;
query has been scheduled for execution. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
query has been cancelled, and all cleanup is completestatic final int
cancellation has been requested, and is being processedstatic final int
query has completed successfullystatic final int
query has been enqueued.static final int
FAILED = 4;
static final int
query is at planning stage (includes logical or / and physical planning)static final int
query is at preparation stage, foreman is initializingstatic final int
RUNNING = 1;
static final int
query has been scheduled for execution. -
Method Summary
Modifier and TypeMethodDescriptionforNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<UserBitShared.QueryResult.QueryState>
valueOf
(int value) Deprecated.valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.static UserBitShared.QueryResult.QueryState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STARTING
query has been scheduled for execution. This is post-enqueued.
STARTING = 0;
-
RUNNING
RUNNING = 1;
-
COMPLETED
query has completed successfully
COMPLETED = 2;
-
CANCELED
query has been cancelled, and all cleanup is complete
CANCELED = 3;
-
FAILED
FAILED = 4;
-
CANCELLATION_REQUESTED
cancellation has been requested, and is being processed
CANCELLATION_REQUESTED = 5;
-
ENQUEUED
query has been enqueued. this is pre-starting.
ENQUEUED = 6;
-
PREPARING
query is at preparation stage, foreman is initializing
PREPARING = 7;
-
PLANNING
query is at planning stage (includes logical or / and physical planning)
PLANNING = 8;
-
-
Field Details
-
STARTING_VALUE
public static final int STARTING_VALUEquery has been scheduled for execution. This is post-enqueued.
STARTING = 0;
- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUERUNNING = 1;
- See Also:
-
COMPLETED_VALUE
public static final int COMPLETED_VALUEquery has completed successfully
COMPLETED = 2;
- See Also:
-
CANCELED_VALUE
public static final int CANCELED_VALUEquery has been cancelled, and all cleanup is complete
CANCELED = 3;
- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEFAILED = 4;
- See Also:
-
CANCELLATION_REQUESTED_VALUE
public static final int CANCELLATION_REQUESTED_VALUEcancellation has been requested, and is being processed
CANCELLATION_REQUESTED = 5;
- See Also:
-
ENQUEUED_VALUE
public static final int ENQUEUED_VALUEquery has been enqueued. this is pre-starting.
ENQUEUED = 6;
- See Also:
-
PREPARING_VALUE
public static final int PREPARING_VALUEquery is at preparation stage, foreman is initializing
PREPARING = 7;
- See Also:
-
PLANNING_VALUE
public static final int PLANNING_VALUEquery is at planning stage (includes logical or / and physical planning)
PLANNING = 8;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<UserBitShared.QueryResult.QueryState> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static UserBitShared.QueryResult.QueryState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-