Package org.dbunit.database
Class ScrollableResultSetTable
java.lang.Object
org.dbunit.dataset.AbstractTable
org.dbunit.database.AbstractResultSetTable
org.dbunit.database.ScrollableResultSetTable
- All Implemented Interfaces:
IResultSetTable,ITable
- Since:
- Feb 17, 2002
- Version:
- $Revision$
- Author:
- Manuel Laflamme
-
Field Summary
Fields inherited from class org.dbunit.database.AbstractResultSetTable
_metaData, _resultSet -
Constructor Summary
ConstructorsConstructorDescriptionScrollableResultSetTable(String tableName, String selectStatement, IDatabaseConnection connection) ScrollableResultSetTable(ITableMetaData metaData, ResultSet resultSet) ScrollableResultSetTable(ITableMetaData metaData, IDatabaseConnection connection) -
Method Summary
Methods inherited from class org.dbunit.database.AbstractResultSetTable
close, getTableMetaDataMethods inherited from class org.dbunit.dataset.AbstractTable
assertValidColumn, assertValidRowIndex, assertValidRowIndex, getColumnIndex
-
Constructor Details
-
ScrollableResultSetTable
public ScrollableResultSetTable(ITableMetaData metaData, ResultSet resultSet) throws SQLException, DataSetException - Throws:
SQLExceptionDataSetException
-
ScrollableResultSetTable
public ScrollableResultSetTable(ITableMetaData metaData, IDatabaseConnection connection) throws DataSetException, SQLException - Throws:
DataSetExceptionSQLException
-
ScrollableResultSetTable
public ScrollableResultSetTable(String tableName, String selectStatement, IDatabaseConnection connection) throws DataSetException, SQLException - Throws:
DataSetExceptionSQLException
-
-
Method Details
-
getRowCount
public int getRowCount()Description copied from interface:ITableReturns this table row count. -
getValue
Description copied from interface:ITableReturns this table value for the specified row and column.- Parameters:
row- The row index, starting with 0columnName- The name of the column- Returns:
- The value
- Throws:
DataSetException
-
toString
- Overrides:
toStringin classAbstractResultSetTable
-