ir.thinkinsql
Interface IReader


public interface IReader

Specifies the behavior of objects that provide data from ResultSets to IRow implementers.


Method Summary
 void close()
          Closes the reader.
 int getCount()
          Returns the number of rows available.
 boolean next(IRow rowToFill)
          Reads the next row of the result set, populates the passed IRow, returns whether a row was found.
 

Method Detail

close

void close()
Closes the reader.


getCount

int getCount()
             throws java.lang.Exception
Returns the number of rows available. Useful for paged interfaces.

Throws:
java.lang.Exception

next

boolean next(IRow rowToFill)
             throws java.lang.Exception
Reads the next row of the result set, populates the passed IRow, returns whether a row was found.

Throws:
java.lang.Exception