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
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OperatorDriver.State
Returns the enum constant of this type with the specified name.static OperatorDriver.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
START
Before the first call to next(). -
STARTING
Attempting to start the operator. -
RUN
Read from readers. -
END
No more data to deliver. -
FAILED
An error occurred. -
CANCELED
Operation was cancelled. No more batches will be returned, but close() has not yet been called. -
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
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
-