Interface ColumnHandlerFactory.ColumnHandler

Enclosing class:
ColumnHandlerFactory

public static interface ColumnHandlerFactory.ColumnHandler
Holds a table column. Allows access to the column's data and the underlying table.
  • Method Details

    • getTableHandle

      TableHandle getTableHandle()
      Gets the handle for the underlying table.
      Returns:
      handle for the table
    • getColumnName

      String getColumnName()
      Gets the column's name.
      Returns:
      name of the column being held
    • size

      int size()
      Gets the number of rows in the column.
      Returns:
      size of the column
    • get

      Object get(int i)
      Gets the object in row i of the column.
      Parameters:
      i - index
      Returns:
      object in row i of the column
    • type

      Class type()
      Gets the data type of the column.
      Returns:
      column's data type
    • typeClassification

      Returns:
      column's ColumnHandlerFactory.TypeClassification
    • getDouble

      double getDouble(int i)
      Gets the object in row i of the column as a double.
      Parameters:
      i - index
      Returns:
      column's value at row i as a double
      Throws:
      UnsupportedOperationException - if the value in the column can not be converted to double