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

Method createEmptyPageData

src/java/simpledb/BTreePage.java:73–76  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getEmptyPageMethod · 0.95
createEmptyBTreeFileMethod · 0.95

Calls 1

getPageSizeMethod · 0.95

Tested by

no test coverage detected