Enum OperatorDriver.State

java.lang.Object
java.lang.Enum<OperatorDriver.State>
org.apache.drill.exec.physical.impl.protocol.OperatorDriver.State
All Implemented Interfaces:
Serializable, Comparable<OperatorDriver.State>
Enclosing class:
OperatorDriver

public static enum OperatorDriver.State extends Enum<OperatorDriver.State>
  • Enum Constant Details

    • START

      public static final OperatorDriver.State START
      Before the first call to next().
    • STARTING

      public static final OperatorDriver.State STARTING
      Attempting to start the operator.
    • RUN

      public static final OperatorDriver.State RUN
      Read from readers.
    • END

      public static final OperatorDriver.State END
      No more data to deliver.
    • FAILED

      public static final OperatorDriver.State FAILED
      An error occurred.
    • CANCELED

      public static final OperatorDriver.State CANCELED
      Operation was cancelled. No more batches will be returned, but close() has not yet been called.
    • CLOSED

      public static final OperatorDriver.State CLOSED
      close() called and resources are released. No more batches will be returned, but close() has not yet been called. (This state is semantically identical to FAILED, it exists just in case an implementation needs to know the difference between the END, FAILED and CANCELED states.)
  • Method Details

    • values

      public static OperatorDriver.State[] 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 OperatorDriver.State 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