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, getTableMetaDataassertValidColumn, assertValidRowIndex, assertValidRowIndex, getColumnIndexpublic ScrollableResultSetTable(ITableMetaData metaData, ResultSet resultSet) throws SQLException, DataSetException
SQLExceptionDataSetExceptionpublic ScrollableResultSetTable(ITableMetaData metaData, IDatabaseConnection connection) throws DataSetException, SQLException
DataSetExceptionSQLExceptionpublic ScrollableResultSetTable(String tableName, String selectStatement, IDatabaseConnection connection) throws DataSetException, SQLException
DataSetExceptionSQLExceptionpublic int getRowCount()
ITablepublic Object getValue(int row, String columnName) throws DataSetException
ITablerow - 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 getRowCountDataSetExceptionpublic String toString()
toString in class AbstractResultSetTableCopyright © 2002-2017. All Rights Reserved.