Interface IResultSet
-
- All Known Implementing Classes:
MergedResultSet,RSet
public interface IResultSetThis interface represents a resultset. Resultsets are immutable through this interface, and are accessed by row.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsid
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IResultRowgetRow(int rowNumber)Get a specific row in the resultset.intgetRowCount()Get the number of rows in this resultset.IResultRow[]getRows()Get an array of all the rows.
-
-
-
Field Detail
-
_rcsid
static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRow
IResultRow getRow(int rowNumber)
Get a specific row in the resultset.- Parameters:
rowNumber- is the number of the row.- Returns:
- the immutable row description, or null if there is no such row.
-
getRowCount
int getRowCount()
Get the number of rows in this resultset.- Returns:
- the number of rows the resultset contains.
-
getRows
IResultRow[] getRows()
Get an array of all the rows. This method is NOT preferred because it requires a new array object to be constructed.- Returns:
- the array.
-
-