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 Details

  • Field Details

    • STARTING_VALUE

      public static final int STARTING_VALUE
       query has been scheduled for execution. This is post-enqueued.
       
      STARTING = 0;
      See Also:
    • RUNNING_VALUE

      public static final int RUNNING_VALUE
      RUNNING = 1;
      See Also:
    • COMPLETED_VALUE

      public static final int COMPLETED_VALUE
       query has completed successfully
       
      COMPLETED = 2;
      See Also:
    • CANCELED_VALUE

      public static final int CANCELED_VALUE
       query has been cancelled, and all cleanup is complete
       
      CANCELED = 3;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
      FAILED = 4;
      See Also:
    • CANCELLATION_REQUESTED_VALUE

      public static final int CANCELLATION_REQUESTED_VALUE
       cancellation has been requested, and is being processed
       
      CANCELLATION_REQUESTED = 5;
      See Also:
    • ENQUEUED_VALUE

      public static final int ENQUEUED_VALUE
       query has been enqueued. this is pre-starting.
       
      ENQUEUED = 6;
      See Also:
    • PREPARING_VALUE

      public static final int PREPARING_VALUE
       query is at preparation stage, foreman is initializing
       
      PREPARING = 7;
      See Also:
    • PLANNING_VALUE

      public static final int PLANNING_VALUE
       query is at planning stage (includes logical or / and physical planning)
       
      PLANNING = 8;
      See Also:
  • Method Details

    • values

      public static UserBitShared.QueryResult.QueryState[] 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

      public static UserBitShared.QueryResult.QueryState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static UserBitShared.QueryResult.QueryState valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static UserBitShared.QueryResult.QueryState forNumber(int value)
      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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null