org.rimudb.generic
Class DataObjectIterator

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

public class DataObjectIterator
extends AbstractQueryIterator

Author:
Simon Ritchie

Constructor Summary
DataObjectIterator()
           
 
Method Summary
 DataObject next()
           
 java.util.List<DataObject> 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

DataObjectIterator

public DataObjectIterator()
Method Detail

next

public DataObject next()
                throws RimuDBException
Throws:
RimuDBException

next

public java.util.List<DataObject> 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.