Enum Class Column.Density

java.lang.Object
java.lang.Enum<Column.Density>
org.apache.lucene.document.column.Column.Density
All Implemented Interfaces:
Serializable, Comparable<Column.Density>, Constable
Enclosing class:
Column

public static enum Column.Density extends Enum<Column.Density>
Whether a column has a value for every document in the batch. This is a contract the column asserts up-front so the indexing chain can pick the right code path without probing the data.
  • Enum Constant Details

    • DENSE

      public static final Column.Density DENSE
      The column has a value for every batch-local doc-id in [0, numDocs), in order.
    • SPARSE

      public static final Column.Density SPARSE
      The column may be missing values or have multiple values for some doc-ids.
  • Method Details

    • values

      public static Column.Density[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Column.Density valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null