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

Method getPageData

src/java/simpledb/BTreeLeafPage.java:201–280  ·  view source on GitHub ↗

Generates a byte array representing the contents of this page. Used to serialize this page to disk. The invariant here is that it should be possible to pass the byte array generated by getPageData to the BTreeLeafPage constructor and have it produce an identical BTreeLeafPage object. @see #BTre

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

setBeforeImageMethod · 0.95

Calls 6

getPageSizeMethod · 0.95
isSlotUsedMethod · 0.95
serializeMethod · 0.95
getSizeMethod · 0.45
numFieldsMethod · 0.45
getFieldMethod · 0.45

Tested by

no test coverage detected