|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.mdr.persistence.btreeimpl.btreeindex.BtreePage
org.netbeans.mdr.persistence.btreeimpl.btreeindex.VarKeyPage
Implementation of a BtreePage with variable length keys and fixed length data.
Field Summary |
Fields inherited from class org.netbeans.mdr.persistence.btreeimpl.btreeindex.BtreePage |
pageBuffer, pageId |
Constructor Summary | |
VarKeyPage()
|
Method Summary | |
void |
dumpPageHeader(java.io.PrintWriter out)
Print BtreePage header for debugging. |
void |
init(Btree btree,
byte[] pageId,
byte[] pageBuffer,
boolean isNew)
Initialize a newly-instantiated or recycled VarKeyPage. |
void |
store()
Write VarKeyPage header data to the page buffer. |
Methods inherited from class org.netbeans.mdr.persistence.btreeimpl.btreeindex.BtreePage |
compare, compareData, consistencyCheck, dumpPage, dumpPageBuffer, dumpPageEntries, dumpTree, get, getLocation, makeRoot, put, put, read, remove, remove, remove, split, uninit, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VarKeyPage()
Method Detail |
public void init(Btree btree, byte[] pageId, byte[] pageBuffer, boolean isNew) throws StorageException
init
in class BtreePage
btree
- btree to which this page belongspageId
- page ID in byte arraypageBuffer
- page bufferisNew
- is this page new to the btree
StorageException
public void store()
store
in class BtreePage
public void dumpPageHeader(java.io.PrintWriter out)
BtreePage
dumpPageHeader
in class BtreePage
out
- PrintWriter to print to
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |