public static enum WriterEvents.State extends Enum<WriterEvents.State>
Enum Constant and Description |
---|
IDLE
No write is in progress.
|
IN_ROW
Both
startWrite() and startValue() has been called on
the tuple to prepare for writing values, and both must be called on
newly-added vectors. |
IN_WRITE
startWrite() has been called to start a write operation
(start a batch), but startValue() has not yet been called
to start a row (or value within an array). |
Modifier and Type | Method and Description |
---|---|
static WriterEvents.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriterEvents.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriterEvents.State IDLE
public static final WriterEvents.State IN_WRITE
startWrite()
has been called to start a write operation
(start a batch), but startValue()
has not yet been called
to start a row (or value within an array). startWrite()
must
be called on newly added columns.public static final WriterEvents.State IN_ROW
startWrite()
and startValue()
has been called on
the tuple to prepare for writing values, and both must be called on
newly-added vectors.public static WriterEvents.State[] values()
for (WriterEvents.State c : WriterEvents.State.values()) System.out.println(c);
public static WriterEvents.State 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.