Enum ColumnState.State

java.lang.Object
java.lang.Enum<ColumnState.State>
org.apache.drill.exec.physical.resultSet.impl.ColumnState.State
All Implemented Interfaces:
Serializable, Comparable<ColumnState.State>
Enclosing class:
ColumnState

protected static enum ColumnState.State extends Enum<ColumnState.State>
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 Constants
    Enum Constant
    Description
    Indicates 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 Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NORMAL

      public static final ColumnState.State NORMAL
      Column is in the normal state of writing with no overflow in effect.
    • OVERFLOW

      public static final ColumnState.State 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

      public static final ColumnState.State LOOK_AHEAD
      Indicates that the column has data saved in the overflow batch.
    • NEW_LOOK_AHEAD

      public static final ColumnState.State 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

      public static ColumnState.State[] 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

      public static ColumnState.State valueOf(String name)
      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 name
      NullPointerException - if the argument is null