public interface RowSet
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getColumnClass(int columnIndex)
Returns the class of objects in a specified column of this dataset.
|
int |
getColumnCount()
Returns the number of columns in this dataset.
|
java.lang.String |
getColumnName(int columnIndex)
Returns the name of a specified column in this dataset.
|
int |
getRowCount()
Returns the number of rows in this dataset.
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Returns the value from a specified row and column in this dataset.
|
int getRowCount()
int getColumnCount()
java.lang.String getColumnName(int columnIndex)
0 <= index < getColumnCount()
columnIndex
- the column indexjava.lang.IndexOutOfBoundsException
- unless the column index is in rangejava.lang.Class getColumnClass(int columnIndex)
0 <= index < getColumnCount()
columnIndex
- the column indexjava.lang.IndexOutOfBoundsException
- unless the column index is in rangejava.lang.Object getValueAt(int rowIndex, int columnIndex)
0 <= rowIndex < getRowCount() && 0 <= columnIndex < getColumnCount()The returned value will either be
null
or an instance of the
class returned by getColumnClass
for the same column index.rowIndex
- the row indexcolumnIndex
- the column indexjava.lang.IndexOutOfBoundsException
- unless the row and column indexes are
in range(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.