public class ForwardOnlyResultSetTable extends AbstractResultSetTable
_metaData, _resultSet
Constructor and Description |
---|
ForwardOnlyResultSetTable(ITableMetaData metaData,
IDatabaseConnection connection) |
ForwardOnlyResultSetTable(ITableMetaData metaData,
ResultSet resultSet) |
ForwardOnlyResultSetTable(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.
|
close, getTableMetaData
assertValidColumn, assertValidRowIndex, assertValidRowIndex, getColumnIndex
public ForwardOnlyResultSetTable(ITableMetaData metaData, ResultSet resultSet) throws SQLException, DataSetException
SQLException
DataSetException
public ForwardOnlyResultSetTable(ITableMetaData metaData, IDatabaseConnection connection) throws DataSetException, SQLException
DataSetException
SQLException
public ForwardOnlyResultSetTable(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
Copyright © 2002-2012. All Rights Reserved.