Package | Description |
---|---|
org.apache.directory.mavibot.btree | |
org.apache.directory.mavibot.btree.exception |
Modifier and Type | Method and Description |
---|---|
TupleCursor<K,V> |
BTree.browse()
Creates a cursor starting at the beginning of the tree
|
TupleCursor<K,V> |
BTree.browse(long revision)
Creates a cursor starting at the beginning of the tree, for a given revision
|
TupleCursor<K,V> |
BTree.browseFrom(long revision,
K key)
Creates a cursor starting on the given key at the given revision
|
KeyCursor<K> |
BTree.browseKeys()
Creates a cursor starting at the beginning of the tree
|
static BTree<?,?> |
BulkLoader.compact(BTree<?,?> btree)
Compact a given in-memory BTree, making it dense.
|
boolean |
BTree.contains(long revision,
K key,
V value)
Checks if the B-tree contains the given key with the given value for a given revision
|
V |
BTree.get(K key)
Find a value in the tree, given its key.
|
V |
BTree.get(long revision,
K key)
Find a value in the tree, given its key, at a specific revision.
|
org.apache.directory.mavibot.btree.Page<K,V> |
PersistedBTree.getRootPage(long revision)
Get the rootPzge associated to a give revision.
|
org.apache.directory.mavibot.btree.Page<K,V> |
BTree.getRootPage(long revision)
Get the rootPage associated to a given revision.
|
ValueCursor<V> |
BTree.getValues(K key) |
boolean |
BTree.hasKey(K key)
Checks if the given key exists.
|
boolean |
BTree.hasKey(long revision,
K key)
Checks if the given key exists for a given revision.
|
Modifier and Type | Field and Description |
---|---|
static KeyNotFoundException |
KeyNotFoundException.INSTANCE
A static Exception used to avoid creating a new one every time
|
Copyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.