Package org.apache.drill.exec.record
Enum AbstractRecordBatch.BatchState
java.lang.Object
java.lang.Enum<AbstractRecordBatch.BatchState>
org.apache.drill.exec.record.AbstractRecordBatch.BatchState
- All Implemented Interfaces:
Serializable
,Comparable<AbstractRecordBatch.BatchState>
- Enclosing class:
- AbstractRecordBatch<T extends PhysicalOperator>
-
Enum Constant Summary
Enum ConstantDescriptionNeed to build schema and return.All work is done, no more data to be sent.This is still the first data batch.The first data batch has already been returned. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static AbstractRecordBatch.BatchState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BUILD_SCHEMA
Need to build schema and return. -
FIRST
This is still the first data batch. -
NOT_FIRST
The first data batch has already been returned. -
DONE
All work is done, no more data to be sent.
-
-
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
-