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

Method deleteTuple

src/java/simpledb/BTreeFile.java:815–834  ·  view source on GitHub ↗

Delete a tuple from this BTreeFile. May cause pages to merge or redistribute entries/tuples if the pages become less than half full. @param tid - the transaction id @param t - the tuple to delete @return a list of all pages that were dirtied by this operation. Could include many pages since parent

(TransactionId tid, Tuple t)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

deleteTupleMethod · 0.95
testMergeLeafPagesMethod · 0.95
testDeleteRootPageMethod · 0.95

Calls 8

getPageMethod · 0.95
deleteTupleMethod · 0.95
getMaxTuplesMethod · 0.95
getNumEmptySlotsMethod · 0.95
getPageNumberMethod · 0.65
getPageIdMethod · 0.45
getRecordIdMethod · 0.45

Tested by 4

deleteTupleMethod · 0.76
testMergeLeafPagesMethod · 0.76
testDeleteRootPageMethod · 0.76