RowSet Objects

This defines the properties of a tabular dataset.

r.getColumnClass(columnIndex) : Class

columnIndex (int) : the column index

Returns the class of objects in a specified column of this dataset. The column index must be in the range:

0 <= index < getColumnCount()

Exceptions:

IndexOutOfBoundsException : unless the column index is in range

r.getColumnCount() : int

Returns the number of columns in this dataset.

r.getColumnName(columnIndex) : string

columnIndex (int) : the column index

Returns the name of a specified column in this dataset. Returns the empty string if the column does not have a name. The column index must be in the range:

0 <= index < getColumnCount()

Exceptions:

IndexOutOfBoundsException : unless the column index is in range

r.getRowCount() : int

Returns the number of rows in this dataset.

r.getValueAt(rowIndex, columnIndex) : Object

rowIndex (int) : the row index

columnIndex (int) : the column index

Returns the value from a specified row and column in this dataset. The row and column indexes must be in the range:

0 <= rowIndex < getRowCount() && 0 <= columnIndex < getColumnCount()

The returned value will either be None or an instance of the class returned by getColumnClass for the same column index.

Exceptions:

IndexOutOfBoundsException : unless the row and column indexes are in range