public static enum AbstractRecordBatch.BatchState extends Enum<AbstractRecordBatch.BatchState>
Enum Constant and Description |
---|
BUILD_SCHEMA
Need to build schema and return.
|
DONE
All work is done, no more data to be sent.
|
FIRST
This is still the first data batch.
|
NOT_FIRST
The first data batch has already been returned.
|
Modifier and Type | Method and Description |
---|---|
static AbstractRecordBatch.BatchState |
valueOf(String name)
Returns 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.
|
public static final AbstractRecordBatch.BatchState BUILD_SCHEMA
public static final AbstractRecordBatch.BatchState FIRST
public static final AbstractRecordBatch.BatchState NOT_FIRST
public static final AbstractRecordBatch.BatchState DONE
public static AbstractRecordBatch.BatchState[] values()
for (AbstractRecordBatch.BatchState c : AbstractRecordBatch.BatchState.values()) System.out.println(c);
public static AbstractRecordBatch.BatchState 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 nullCopyright © 1970 The Apache Software Foundation. All rights reserved.