org.jfree.formula.lvalues

Interface DataTable

All Superinterfaces:
Cloneable, LValue, Serializable
Known Implementing Classes:
DefaultDataTable

public interface DataTable
extends LValue

A database is a two dimensional collection of data, arranged in a table. Although we do not assume that the whole database is held in memory, we allow random access of the data. Columns may have names, but there is no enforced requirement for that. As a database is not just a collection of raw data, this interface returns LValues instead of plain objects. Columns may be computed values using formulas (the exact semantics of adressing database cells in a formula is beyond the scope of this specification and is implementation specific).
Author:
Thomas Morgner

Method Summary

int
getColumnCount()
String
getColumnName(int column)
int
getRowCount()
LValue
getValueAt(int row, int column)

Methods inherited from interface org.jfree.formula.lvalues.LValue

clone, evaluate, getChildValues, getValueType, initialize, isConstant

Method Details

getColumnCount

public int getColumnCount()

getColumnName

public String getColumnName(int column)

getRowCount

public int getRowCount()

getValueAt

public LValue getValueAt(int row,
                         int column)