MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / next

Method next

src/java/simpledb/execution/Query.java:88–94  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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() {

Callers 2

runMethod · 0.95
executeMethod · 0.95

Calls 1

nextMethod · 0.65

Tested by 1

runMethod · 0.76