| Package | Description |
|---|---|
| org.netbeans.mdr.persistence.btreeimpl.btreeindex |
Together, the btreestorage and btreeindex packages provide the btree storage
implementation for the NetBeans meta-data repository.
|
| org.netbeans.mdr.persistence.btreeimpl.btreestorage |
Together, the btreestorage and btreeindex packages provide the btree storage
implementation for the NetBeans meta-data repository.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BigKeyPage
These pages contain keys which are too big to be handled normally.
|
class |
FixedKeyPage
Implementation of a BtreePage with fixed length keys and fixed length data.
|
class |
ShrinkablePage
Implementation of a BtreePage with fixed key length and fixed data length that
are stored in compressed form if all the stored keys or data prefixes are
strings of zeros (these prefixes are excluded then).
|
class |
VarKeyPage
Implementation of a BtreePage with variable length keys and fixed length
data.
|
class |
VarRecordPage
Implementation of a BtreePage with variable length keys and variable length
data.
|
| Modifier and Type | Method and Description |
|---|---|
BtreePage |
BtreePageSource.getPage(byte[] pageId,
Btree btree)
Retrieve a page.
|
BtreePage |
BtreeCacheSource.getPage(byte[] pageId,
Btree btree) |
BtreePage |
BtreePageSource.getRootPage(Btree btree)
Retrieve the root page for this btree.
|
BtreePage |
BtreeCacheSource.getRootPage(Btree btree) |
BtreePage |
BtreePageSource.newPage(Btree btree)
Creates a new page and returns it.
|
BtreePage |
BtreeCacheSource.newPage(Btree btree) |
BtreePage |
Btree.pageFactory()
Returns the right kind of BtreePage for this btree.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BtreePageSource.dirtyPage(BtreePage page)
Notify the BtreePageSource that the caller is going to modify this page.
|
void |
BtreeCacheSource.dirtyPage(BtreePage page) |
void |
BtreePageSource.unpinPage(BtreePage page)
Notify the BtreePageSource that the caller is done using this page.
|
void |
BtreeCacheSource.unpinPage(BtreePage page) |
| Modifier and Type | Method and Description |
|---|---|
BtreePage |
BtreeFileSource.getPage(byte[] pageId,
Btree btree)
Get a BtreePage by its pageId.
|
BtreePage |
BtreeMDRSource.getPage(byte[] pageId,
Btree btree) |
BtreePage |
BtreeFileSource.getRootPage(Btree btree)
Return the root page if it already exists, otherwise create it.
|
BtreePage |
BtreeMDRSource.getRootPage(Btree btree) |
BtreePage |
BtreeFileSource.newPage(Btree btree)
Returns a newly allocated btree page.
|
BtreePage |
BtreeMDRSource.newPage(Btree btree) |
| Modifier and Type | Method and Description |
|---|---|
void |
BtreeFileSource.dirtyPage(BtreePage page)
Notifies the btree that the caller is going to modify this page.
|
void |
BtreeMDRSource.dirtyPage(BtreePage page) |
void |
BtreeFileSource.unpinPage(BtreePage page)
Notifies the btree that the caller is done using this page.
|
void |
BtreeMDRSource.unpinPage(BtreePage page) |
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.