Package | Description |
---|---|
org.apache.directory.mavibot.btree | |
org.apache.directory.mavibot.btree.managed | |
org.apache.directory.mavibot.btree.memory |
Modifier and Type | Field and Description |
---|---|
protected Page<K,V> |
SplitResult.leftPage
The left child
|
protected Page<K,V> |
ModifyResult.modifiedPage
The modified page reference
|
Page<K,V> |
ParentPos.page
The page we are browsing
|
protected Page<K,V> |
SplitResult.rightPage
The right child
|
Modifier and Type | Method and Description |
---|---|
Page<K,V> |
SplitResult.getLeftPage() |
Page<K,V> |
NotPresentResult.getModifiedPage() |
Page<K,V> |
ModifyResult.getModifiedPage() |
Page<K,V> |
DeleteResult.getModifiedPage() |
Page<K,V> |
AbstractDeleteResult.getModifiedPage() |
Page<K,V> |
BorrowedFromSiblingResult.getModifiedSibling() |
Page<K,V> |
AbstractBorrowedFromSiblingResult.getModifiedSibling() |
Page<K,V> |
SplitResult.getRightPage() |
Page<K,V> |
Transaction.getRoot() |
Modifier and Type | Method and Description |
---|---|
List<Page<K,V>> |
AbstractResult.getCopiedPages() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractResult.addCopiedPage(Page<K,V> page)
Add a new copied page
|
DeleteResult<K,V> |
Page.delete(long revision,
K key,
V value,
Page<K,V> parent,
int parentPos)
Deletes the value from an entry associated with the given key in this page.
|
void |
ModifyResult.setModifiedPage(Page<K,V> modifiedPage)
Set the modified page
|
void |
AbstractDeleteResult.setModifiedPage(Page<K,V> modifiedPage) |
Constructor and Description |
---|
AbstractBorrowedFromSiblingResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement,
AbstractBorrowedFromSiblingResult.SiblingPosition position)
A constructor for RemoveResult with a list of copied pages.
|
AbstractBorrowedFromSiblingResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement,
AbstractBorrowedFromSiblingResult.SiblingPosition position)
A constructor for RemoveResult with a list of copied pages.
|
AbstractBorrowedFromSiblingResult(Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement,
AbstractBorrowedFromSiblingResult.SiblingPosition position)
The default constructor for RemoveResult.
|
AbstractBorrowedFromSiblingResult(Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement,
AbstractBorrowedFromSiblingResult.SiblingPosition position)
The default constructor for RemoveResult.
|
AbstractDeleteResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Tuple<K,V> removedElement)
The default constructor for AbstractDeleteResult.
|
AbstractDeleteResult(Page<K,V> modifiedPage,
Tuple<K,V> removedElement)
The default constructor for AbstractDeleteResult.
|
BorrowedFromLeftResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
A constructor for BorrowedFromLeftResult which takes a list of copied pages.
|
BorrowedFromLeftResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
A constructor for BorrowedFromLeftResult which takes a list of copied pages.
|
BorrowedFromLeftResult(Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
The default constructor for BorrowedFromLeftResult.
|
BorrowedFromLeftResult(Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
The default constructor for BorrowedFromLeftResult.
|
BorrowedFromRightResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
A constructor for BorrowedFromRightResult which takes a list of copied pages.
|
BorrowedFromRightResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
A constructor for BorrowedFromRightResult which takes a list of copied pages.
|
BorrowedFromRightResult(Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
The default constructor for BorrowedFromRightResult.
|
BorrowedFromRightResult(Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
The default constructor for BorrowedFromRightResult.
|
ModifyResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
V modifiedValue)
A constructor for ModifyResult which takes a list of copied pages.
|
ModifyResult(Page<K,V> modifiedPage,
V modifiedValue)
The default constructor for ModifyResult.
|
ParentPos(Page<K,V> page,
int pos)
Creates a new instance of ParentPos
|
RemoveResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Tuple<K,V> removedElement)
A constructor for RemoveResult which takes a list of copied pages.
|
RemoveResult(Page<K,V> modifiedPage,
Tuple<K,V> removedElement)
The default constructor for RemoveResult.
|
SplitResult(K pivot,
Page<K,V> leftPage,
Page<K,V> rightPage)
The default constructor for SplitResult.
|
SplitResult(K pivot,
Page<K,V> leftPage,
Page<K,V> rightPage)
The default constructor for SplitResult.
|
SplitResult(List<Page<K,V>> copiedPages,
K pivot,
Page<K,V> leftPage,
Page<K,V> rightPage)
A constructor for SplitResult with copied pages.
|
SplitResult(List<Page<K,V>> copiedPages,
K pivot,
Page<K,V> leftPage,
Page<K,V> rightPage)
A constructor for SplitResult with copied pages.
|
Transaction(Page<K,V> root,
long revision,
long creationDate)
Creates a new transaction instance
|
Constructor and Description |
---|
AbstractBorrowedFromSiblingResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement,
AbstractBorrowedFromSiblingResult.SiblingPosition position)
A constructor for RemoveResult with a list of copied pages.
|
AbstractDeleteResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Tuple<K,V> removedElement)
The default constructor for AbstractDeleteResult.
|
AbstractResult(List<Page<K,V>> copiedPages)
Creates an instance of AbstractResult with an initialized list of copied pages.
|
BorrowedFromLeftResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
A constructor for BorrowedFromLeftResult which takes a list of copied pages.
|
BorrowedFromRightResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Page<K,V> modifiedSibling,
Tuple<K,V> removedElement)
A constructor for BorrowedFromRightResult which takes a list of copied pages.
|
ModifyResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
V modifiedValue)
A constructor for ModifyResult which takes a list of copied pages.
|
RemoveResult(List<Page<K,V>> copiedPages,
Page<K,V> modifiedPage,
Tuple<K,V> removedElement)
A constructor for RemoveResult which takes a list of copied pages.
|
SplitResult(List<Page<K,V>> copiedPages,
K pivot,
Page<K,V> leftPage,
Page<K,V> rightPage)
A constructor for SplitResult with copied pages.
|
Modifier and Type | Field and Description |
---|---|
protected Page<K,V> |
BTree.rootPage
The current rootPage
|
Modifier and Type | Method and Description |
---|---|
<K,V> Page<K,V> |
RecordManager.deserialize(BTree<K,V> btree,
long offset) |
static <K,V> Page<K,V> |
BTreeFactory.getRoot(BTree<K,V> btree)
Return the BTree root page
|
Page<K,V> |
PageHolder.getValue(BTree<K,V> btree) |
Modifier and Type | Method and Description |
---|---|
static <K,V> void |
BTreeFactory.setKey(Page<K,V> page,
int pos,
byte[] buffer)
Set the key at a give position
|
static <K,V> void |
BTreeFactory.setKey(Page<K,V> page,
int pos,
K key)
Set the key at a give position
|
static <K,V> void |
BTreeFactory.setRoot(BTree<K,V> btree,
Page<K,V> root)
Set the new root page for this tree.
|
Constructor and Description |
---|
PageHolder(BTree<K,V> btree,
Page<K,V> element,
long offset,
long lastOffset)
Create a new holder storing an offset and a SoftReference containing the element.
|
Modifier and Type | Field and Description |
---|---|
protected Page<K,V> |
BTree.rootPage
The current rootPage
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Page<K,V> |
BTreeFactory.getRoot(BTree<K,V> btree)
Return the BTree root page
|
Modifier and Type | Method and Description |
---|---|
static <K,V> void |
BTreeFactory.setKey(Page<K,V> page,
int pos,
K key)
Set the key at a give position
|
static <K,V> void |
BTreeFactory.setRoot(BTree<K,V> btree,
Page<K,V> root)
Set the new root page for this tree.
|
static <K,V> void |
BTreeFactory.setValue(org.apache.directory.mavibot.btree.memory.Node<K,V> page,
int pos,
Page<K,V> value)
Set the value at a give position
|
Copyright © 2012-2013 Apache Mavibot Project Parent. All Rights Reserved.