public interface DbIterator
extends java.io.Serializable
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Closes the iterator. 
 | 
TupleDesc | 
getTupleDesc()
Returns the TupleDesc associated with this DbIterator. 
 | 
boolean | 
hasNext()
Returns true if the iterator has more tuples. 
 | 
Tuple | 
next()
Returns 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
java.lang.IllegalStateException - If the iterator has not been openedDbExceptionTransactionAbortedExceptionTuple next() throws DbException, TransactionAbortedException, java.util.NoSuchElementException
java.util.NoSuchElementException - if there are no more tuples.java.lang.IllegalStateException - If the iterator has not been openedDbExceptionTransactionAbortedExceptionvoid rewind()
     throws DbException,
            TransactionAbortedException
DbException - when rewind is unsupported.java.lang.IllegalStateException - If the iterator has not been openedTransactionAbortedExceptionTupleDesc getTupleDesc()
void close()