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

Method getPageData

src/java/simpledb/Page.java:47–47  ·  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 Page constructor and have it produce an identical Page object. @return A byte array corresp

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

PatchTestMethod · 0.95
writePageMethod · 0.65
writePageDataMethod · 0.65

Implementers 4

HeapPagesrc/java/simpledb/HeapPage.java
BTreeRootPtrPagesrc/java/simpledb/BTreeRootPtrPage.jav
BTreeHeaderPagesrc/java/simpledb/BTreeHeaderPage.java
BTreePagesrc/java/simpledb/BTreePage.java

Calls

no outgoing calls

Tested by 1

PatchTestMethod · 0.76