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

Method updateParentPointer

src/java/simpledb/BTreeFile.java:354–364  ·  view source on GitHub ↗

Helper function to update the parent pointer of a node. @param tid - the transaction id @param dirtypages - the list of dirty pages which should be updated with all new dirty pages @param pid - id of the parent node @param child - id of the child node to be updated with the parent pointer @throws D

(TransactionId tid, HashMap<PageId, Page> dirtypages, BTreePageId pid, BTreePageId child)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

updateParentPointersMethod · 0.95

Calls 4

getPageMethod · 0.95
getParentIdMethod · 0.95
setParentIdMethod · 0.95
equalsMethod · 0.65

Tested by

no test coverage detected