public abstract class ResultIterator
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ResultIterator.BufferedIterator |
static class |
ResultIterator.CachedIterator |
static class |
ResultIterator.EmptyIterator |
static class |
ResultIterator.ListIterator |
static class |
ResultIterator.SingleIterator |
| Constructor and Description |
|---|
ResultIterator() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
dispose()
Finalizes the iterator and performs any cleanup needed.
|
abstract boolean |
hasNext()
Checks if there is another row available.
|
abstract ResultRow |
next()
Gets the next row in the results and moves the iterator forward one row.
|
abstract void |
reset()
Resets the iterator to its initial position.
|
public abstract ResultRow next() throws QueryException, java.util.NoSuchElementException
QueryExceptionjava.util.NoSuchElementExceptionpublic abstract boolean hasNext()
throws QueryException
QueryExceptionpublic abstract void dispose()
throws QueryException
QueryExceptionpublic abstract void reset()
throws QueryException
QueryExceptionCopyright 2004-2015 Wandora Team