Returns the next tuple, or throws NoSuchElementException if the iterator is closed. @return The next tuple in the iterator @throws DbException If there is an error in the database system @throws NoSuchElementException If the iterator has finished iterating @throws Transactio
()
| 86 | * If the transaction is aborted (e.g., due to a deadlock) |
| 87 | */ |
| 88 | public Tuple next() throws DbException, NoSuchElementException, |
| 89 | TransactionAbortedException { |
| 90 | if (!started) |
| 91 | throw new DbException("Database not started."); |
| 92 | |
| 93 | return op.next(); |
| 94 | } |
| 95 | |
| 96 | /** Close the iterator */ |
| 97 | public void close() { |