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

Method readPage

src/java/simpledb/BTreeFile.java:79–139  ·  view source on GitHub ↗

Read a page from the file on disk. This should not be called directly but should be called from the BufferPool via getPage() @param pid - the id of the page to read from disk @return the page constructed from the contents on disk

(PageId pid)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

pgcategMethod · 0.95
getPageSizeMethod · 0.95
logMethod · 0.95
getPageNumberMethod · 0.95
getPageSizeMethod · 0.95
closeMethod · 0.65

Tested by

no test coverage detected