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

Method createEmptyPageData

src/java/simpledb/HeapPage.java:233–236  ·  view source on GitHub ↗

Static method to generate a byte array corresponding to an empty HeapPage. Used to add new, empty pages to the file. Passing the results of this method to the HeapPage constructor will create a HeapPage with no valid tuples in it. @return The returned ByteArray.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

insertTupleMethod · 0.95
createEmptyHeapFileMethod · 0.95
addEntryMethod · 0.45
testSplitLeafPagesMethod · 0.45
testReusePageMethod · 0.45
addTupleMethod · 0.45
getRootPtrPageMethod · 0.45

Calls 1

getPageSizeMethod · 0.95

Tested by 10

insertTupleMethod · 0.76
addEntryMethod · 0.36
testSplitLeafPagesMethod · 0.36
testReusePageMethod · 0.36
addTupleMethod · 0.36