public class ScrollableResultSetTable extends AbstractResultSetTable
_metaData, _resultSet
Constructor and Description |
---|
ScrollableResultSetTable(ITableMetaData metaData,
IDatabaseConnection connection) |
ScrollableResultSetTable(ITableMetaData metaData,
ResultSet resultSet) |
ScrollableResultSetTable(String tableName,
String selectStatement,
IDatabaseConnection connection) |
Modifier and Type | Method and Description |
---|---|
int |
getRowCount()
Returns this table row count.
|
Object |
getValue(int row,
String columnName)
Returns this table value for the specified row and column.
|
String |
toString() |
close, getTableMetaData
assertValidColumn, assertValidRowIndex, assertValidRowIndex, getColumnIndex
public ScrollableResultSetTable(ITableMetaData metaData, ResultSet resultSet) throws SQLException, DataSetException
SQLException
DataSetException
public ScrollableResultSetTable(ITableMetaData metaData, IDatabaseConnection connection) throws DataSetException, SQLException
DataSetException
SQLException
public ScrollableResultSetTable(String tableName, String selectStatement, IDatabaseConnection connection) throws DataSetException, SQLException
DataSetException
SQLException
public int getRowCount()
ITable
public Object getValue(int row, String columnName) throws DataSetException
ITable
row
- The row index, starting with 0columnName
- The name of the columnNoSuchColumnException
- if specified column name do not exist in
this tableRowOutOfBoundsException
- if specified row is less than zero or
equals or greater than getRowCount
DataSetException
public String toString()
toString
in class AbstractResultSetTable
Copyright © 2002–2015. All rights reserved.