MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / getPageData

Method getPageData

src/java/simpledb/storage/Page.java:49–49  ·  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

47 */
48
49 byte[] getPageData();
50
51 /** Provide a representation of this page before any modifications were made
52 to it. Used by recovery.

Callers 4

PatchTestMethod · 0.95
writePageMethod · 0.65
writePageDataMethod · 0.65
writePageMethod · 0.65

Implementers 4

HeapPagesrc/java/simpledb/storage/HeapPage.jav
BTreeRootPtrPagesrc/java/simpledb/index/BTreeRootPtrPa
BTreeHeaderPagesrc/java/simpledb/index/BTreeHeaderPag
BTreePagesrc/java/simpledb/index/BTreePage.java

Calls

no outgoing calls

Tested by 1

PatchTestMethod · 0.76