private class Join.JoinIterator extends ResultIterator
ResultIterator.BufferedIterator, ResultIterator.CachedIterator, ResultIterator.EmptyIterator, ResultIterator.ListIterator, ResultIterator.SingleIterator| Modifier and Type | Field and Description |
|---|---|
boolean |
allDone |
QueryContext |
context |
int |
counter |
ResultRow |
input |
java.util.ArrayList<ResultIterator> |
iterators |
ResultRow |
nextRow |
ResultRow[] |
rows |
long |
startTime |
| Constructor and Description |
|---|
JoinIterator(QueryContext context,
ResultRow input) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Finalizes the iterator and performs any cleanup needed.
|
boolean |
hasNext()
Checks if there is another row available.
|
ResultRow |
next()
Gets the next row in the results and moves the iterator forward one row.
|
void |
reset()
Resets the iterator to its initial position.
|
public QueryContext context
public ResultRow input
public java.util.ArrayList<ResultIterator> iterators
public boolean allDone
public ResultRow nextRow
public ResultRow[] rows
public int counter
public long startTime
public JoinIterator(QueryContext context, ResultRow input) throws QueryException
QueryExceptionpublic boolean hasNext()
throws QueryException
ResultIteratorhasNext in class ResultIteratorQueryExceptionpublic ResultRow next() throws QueryException, java.util.NoSuchElementException
ResultIteratornext in class ResultIteratorQueryExceptionjava.util.NoSuchElementExceptionpublic void dispose()
throws QueryException
ResultIteratordispose in class ResultIteratorQueryExceptionpublic void reset()
throws QueryException
ResultIteratorreset in class ResultIteratorQueryExceptionCopyright 2004-2015 Wandora Team