public interface DbFileIterator
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the iterator.
|
boolean |
hasNext() |
Tuple |
next()
Gets the next tuple from the operator (typically implementing by reading
from a child operator or an access method).
|
void |
open()
Opens the iterator
|
void |
rewind()
Resets the iterator to the start.
|
void open() throws DbException, TransactionAbortedException
DbException - when there are problems opening/accessing the database.TransactionAbortedExceptionboolean hasNext()
throws DbException,
TransactionAbortedException
DbExceptionTransactionAbortedExceptionTuple next() throws DbException, TransactionAbortedException, java.util.NoSuchElementException
java.util.NoSuchElementException - if there are no more tuplesDbExceptionTransactionAbortedExceptionvoid rewind()
throws DbException,
TransactionAbortedException
DbException - When rewind is unsupported.TransactionAbortedExceptionvoid close()