Class ColumnMetaData

All Implemented Interfaces:
Serializable, Cloneable, Map<String,byte[]>

public class ColumnMetaData extends MetaData<ColumnMetaData>
Metadata for a column.
See Also:
  • Constructor Details

    • ColumnMetaData

      public ColumnMetaData(String name, ValueType type)
      Construct given a name and type.
  • Method Details

    • getName

      public String getName()
      Return this column's name.
    • getType

      public ValueType getType()
      Return this column's type.
    • getParent

      public ColumnMetaData getParent()
      Return this column's parent or null.
    • getChildren

      public List<ColumnMetaData> getChildren()
      Return this column's children or null.
    • isArray

      public boolean isArray()
      Return true if this column is an array.
    • getNumber

      public int getNumber()
      Return this column's number in a file.
    • hasIndexValues

      public ColumnMetaData hasIndexValues(boolean values)
      Set whether this column has an index of blocks by value. This only makes sense for sorted columns and permits one to seek into a column by value.
    • setParent

      public ColumnMetaData setParent(ColumnMetaData parent)
      Set this column's parent. A parent must be a preceding array column.
    • isArray

      public ColumnMetaData isArray(boolean isArray)
      Set whether this column is an array.
    • hasIndexValues

      public boolean hasIndexValues()
      Get whether this column has an index of blocks by value.