public static enum UserBitShared.QueryResult.QueryState extends Enum<UserBitShared.QueryResult.QueryState> implements com.google.protobuf.ProtocolMessageEnum
exec.shared.QueryResult.QueryState
Enum Constant and Description |
---|
CANCELED
query has been cancelled, and all cleanup is complete
|
CANCELLATION_REQUESTED
cancellation has been requested, and is being processed
|
COMPLETED
query has completed successfully
|
ENQUEUED
query has been enqueued.
|
FAILED
FAILED = 4; |
PLANNING
query is at planning stage (includes logical or / and physical planning)
|
PREPARING
query is at preparation stage, foreman is initializing
|
RUNNING
RUNNING = 1; |
STARTING
query has been scheduled for execution.
|
Modifier and Type | Field and Description |
---|---|
static int |
CANCELED_VALUE
query has been cancelled, and all cleanup is complete
|
static int |
CANCELLATION_REQUESTED_VALUE
cancellation has been requested, and is being processed
|
static int |
COMPLETED_VALUE
query has completed successfully
|
static int |
ENQUEUED_VALUE
query has been enqueued.
|
static int |
FAILED_VALUE
FAILED = 4; |
static int |
PLANNING_VALUE
query is at planning stage (includes logical or / and physical planning)
|
static int |
PREPARING_VALUE
query is at preparation stage, foreman is initializing
|
static int |
RUNNING_VALUE
RUNNING = 1; |
static int |
STARTING_VALUE
query has been scheduled for execution.
|
Modifier and Type | Method and Description |
---|---|
static UserBitShared.QueryResult.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<UserBitShared.QueryResult.QueryState> |
internalGetValueMap() |
static UserBitShared.QueryResult.QueryState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static UserBitShared.QueryResult.QueryState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static UserBitShared.QueryResult.QueryState |
valueOf(String 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.
|
public static final UserBitShared.QueryResult.QueryState STARTING
query has been scheduled for execution. This is post-enqueued.
STARTING = 0;
public static final UserBitShared.QueryResult.QueryState RUNNING
RUNNING = 1;
public static final UserBitShared.QueryResult.QueryState COMPLETED
query has completed successfully
COMPLETED = 2;
public static final UserBitShared.QueryResult.QueryState CANCELED
query has been cancelled, and all cleanup is complete
CANCELED = 3;
public static final UserBitShared.QueryResult.QueryState FAILED
FAILED = 4;
public static final UserBitShared.QueryResult.QueryState CANCELLATION_REQUESTED
cancellation has been requested, and is being processed
CANCELLATION_REQUESTED = 5;
public static final UserBitShared.QueryResult.QueryState ENQUEUED
query has been enqueued. this is pre-starting.
ENQUEUED = 6;
public static final UserBitShared.QueryResult.QueryState PREPARING
query is at preparation stage, foreman is initializing
PREPARING = 7;
public static final UserBitShared.QueryResult.QueryState PLANNING
query is at planning stage (includes logical or / and physical planning)
PLANNING = 8;
public static final int STARTING_VALUE
query has been scheduled for execution. This is post-enqueued.
STARTING = 0;
public static final int RUNNING_VALUE
RUNNING = 1;
public static final int COMPLETED_VALUE
query has completed successfully
COMPLETED = 2;
public static final int CANCELED_VALUE
query has been cancelled, and all cleanup is complete
CANCELED = 3;
public static final int FAILED_VALUE
FAILED = 4;
public static final int CANCELLATION_REQUESTED_VALUE
cancellation has been requested, and is being processed
CANCELLATION_REQUESTED = 5;
public static final int ENQUEUED_VALUE
query has been enqueued. this is pre-starting.
ENQUEUED = 6;
public static final int PREPARING_VALUE
query is at preparation stage, foreman is initializing
PREPARING = 7;
public static final int PLANNING_VALUE
query is at planning stage (includes logical or / and physical planning)
PLANNING = 8;
public static UserBitShared.QueryResult.QueryState[] values()
for (UserBitShared.QueryResult.QueryState c : UserBitShared.QueryResult.QueryState.values()) System.out.println(c);
public static UserBitShared.QueryResult.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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static UserBitShared.QueryResult.QueryState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static UserBitShared.QueryResult.QueryState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<UserBitShared.QueryResult.QueryState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static UserBitShared.QueryResult.QueryState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 1970 The Apache Software Foundation. All rights reserved.