Open this iterator by getting an iterator on the first leaf page
()
| 1330 | * Open this iterator by getting an iterator on the first leaf page |
| 1331 | */ |
| 1332 | public void open() throws DbException, TransactionAbortedException { |
| 1333 | BTreeRootPtrPage rootPtr = (BTreeRootPtrPage) Database.getBufferPool().getPage( |
| 1334 | tid, BTreeRootPtrPage.getId(f.getId()), Permissions.READ_ONLY); |
| 1335 | BTreePageId root = rootPtr.getRootId(); |
| 1336 | curp = f.findLeafPage(tid, root, null); |
| 1337 | it = curp.iterator(); |
| 1338 | } |
| 1339 | |
| 1340 | /** |
| 1341 | * Read the next tuple either from the current page if it has more tuples or |
no test coverage detected