MCPcopy Create free account
hub / github.com/MIT-DB-Class/simple-db-hw / iterator

Method iterator

src/java/simpledb/DbFile.java:69–69  ·  view source on GitHub ↗

Returns an iterator over all the tuples stored in this DbFile. The iterator must use BufferPool#getPage, rather than #readPage to iterate through the pages. @return an iterator over all the tuples stored in this DbFile.

(TransactionId tid)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

validateTransactionsMethod · 0.95
mainMethod · 0.95
handleManyDirtyPagesMethod · 0.65
testRewindPredicatesMethod · 0.65
testReadPageMethod · 0.65
buildTreeMethod · 0.65
openMethod · 0.65
rewindMethod · 0.65
openMethod · 0.65
updateParentPointersMethod · 0.65
openMethod · 0.65
readNextMethod · 0.65

Implementers 3

SkeletonFiletest/simpledb/TestUtil.java
HeapFilesrc/java/simpledb/HeapFile.java
BTreeFilesrc/java/simpledb/BTreeFile.java

Calls

no outgoing calls

Tested by 4

validateTransactionsMethod · 0.76
handleManyDirtyPagesMethod · 0.52
testRewindPredicatesMethod · 0.52
testReadPageMethod · 0.52