org.apache.manifoldcf.core.interfaces
Interface IResultSet

All Known Implementing Classes:
MergedResultSet, RSet

public interface IResultSet

This interface represents a resultset. Resultsets are immutable through this interface, and are accessed by row.


Field Summary
static java.lang.String _rcsid
           
 
Method Summary
 IResultRow getRow(int rowNumber)
          Get a specific row in the resultset.
 int getRowCount()
          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.