Package org.apache.empire.db
Class DBReader.DBReaderScrollableIterator
java.lang.Object
org.apache.empire.db.DBReader.DBReaderIterator
org.apache.empire.db.DBReader.DBReaderScrollableIterator
- All Implemented Interfaces:
Iterator<DBRecordData>
- Enclosing class:
- DBReader
This is an iterator for scrolling resultsets.
This iterator has no such limitations as the forward iterator.
-
Field Summary
Fields inherited from class org.apache.empire.db.DBReader.DBReaderIterator
curCount, maxCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.empire.db.DBReader.DBReaderIterator
dispose, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
DBReaderScrollableIterator
public DBReaderScrollableIterator(int maxCount)
-
-
Method Details
-
hasNext
public boolean hasNext()Implements the Iterator Interface.- Returns:
- true if there is another record to read
-
next
Implements the Iterator Interface.- Returns:
- the current Record interface
-