Enum ColumnState.State
- All Implemented Interfaces:
Serializable
,Comparable<ColumnState.State>
- Enclosing class:
- ColumnState
Columns move through various lifecycle states as identified by this
enum. (Yes, sorry that the term "state" is used in two different ways
here: the variables for a column and the point within the column
lifecycle.
-
Enum Constant Summary
Enum ConstantDescriptionIndicates that the column has data saved in the overflow batch.Like LOOK_AHEAD, but indicates the special case that the column was added after overflow, so there is no vector for the column in the harvested batch.Column is in the normal state of writing with no overflow in effect.Like NORMAL, but means that the data has overflowed and the column's data for the current row appears in the new, overflow batch. -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnState.State
Returns the enum constant of this type with the specified name.static ColumnState.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL
Column is in the normal state of writing with no overflow in effect. -
OVERFLOW
Like NORMAL, but means that the data has overflowed and the column's data for the current row appears in the new, overflow batch. For a client that omits some columns, written columns will be in OVERFLOW state, unwritten columns in NORMAL state. -
LOOK_AHEAD
Indicates that the column has data saved in the overflow batch. -
NEW_LOOK_AHEAD
Like LOOK_AHEAD, but indicates the special case that the column was added after overflow, so there is no vector for the column in the harvested batch.
-
-
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
-