org.rimudb.generic
Class ObjectIterator

java.lang.Object
  extended by org.rimudb.generic.AbstractQueryIterator
      extended by org.rimudb.generic.ObjectIterator

public class ObjectIterator
extends AbstractQueryIterator

Author:
Simon Ritchie

Constructor Summary
ObjectIterator()
           
 
Method Summary
 java.lang.Object next()
           
 java.util.List<?> next(int rows)
          Retrieve the next 'rows' records from the result set.
 
Methods inherited from class org.rimudb.generic.AbstractQueryIterator
close, getConnection, getPreparedStatement, getResultSet, getResultSetBinder, hasNext, setConnection, setPreparedStatement, setResultSet, setResultSetBinder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectIterator

public ObjectIterator()
Method Detail

next

public java.lang.Object next()
                      throws RimuDBException
Throws:
RimuDBException

next

public java.util.List<?> next(int rows)
                       throws RimuDBException
Retrieve the next 'rows' records from the result set.

Parameters:
rows - int
Returns:
List
Throws:
RimuDBException


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.