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

Method iterator

src/java/simpledb/BTreeFile.java:1068–1070  ·  view source on GitHub ↗

Get an iterator for all tuples in this B+ tree file in sorted order. This method will acquire a read lock on the affected pages of the file, and may block until the lock can be acquired. @param tid - the transaction id @return an iterator for all the tuples in this file

(TransactionId tid)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

testIteratorBasicMethod · 0.95
testIteratorCloseMethod · 0.95
deleteTupleMethod · 0.95
addTupleMethod · 0.95
testSplitInternalPageMethod · 0.95
testMergeLeafPagesMethod · 0.95
testDeleteRootPageMethod · 0.95
testReuseDeletedPagesMethod · 0.95
testBigFileMethod · 0.95

Calls

no outgoing calls

Tested by 11

testIteratorBasicMethod · 0.76
testIteratorCloseMethod · 0.76
deleteTupleMethod · 0.76
addTupleMethod · 0.76
testSplitInternalPageMethod · 0.76
testMergeLeafPagesMethod · 0.76
testDeleteRootPageMethod · 0.76
testReuseDeletedPagesMethod · 0.76
testBigFileMethod · 0.76