ResultSetIterator(ResultSet rs, RowProcessor convert) Constructor for ResultSetIterator.
Parameters: rs - Wrap this ResultSet in an Iterator. Parameters: convert - The processor to use when converting a row into an Object[].
Method Summary
public boolean
hasNext() Returns true if there are more rows in the ResultSet.
Constructor for ResultSetIterator.
Parameters: rs - Wrap this ResultSet in an Iterator. Parameters: convert - The processor to use when converting a row into an Object[]. Defaults to a BasicRowProcessor.
Returns the next row as an Object[].
An Object[] with the same number of elements ascolumns in the ResultSet. See Also:java.util.Iterator.next throws: RuntimeException - if an SQLException occurs.
Rethrow the SQLException as a RuntimeException. This implementation
creates a new RuntimeException with the SQLException's error message.
Parameters: e - SQLException to rethrow since: DbUtils 1.1