Package | Description |
---|---|
org.apache.directory.mavibot.btree |
Modifier and Type | Class and Description |
---|---|
class |
PersistedBTree<K,V>
The B+Tree MVCC data structure.
|
Modifier and Type | Method and Description |
---|---|
<K,V> BTree<K,V> |
RecordManager.addBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a BTree and automatically adds it to the list of managed btrees
|
BTree<K,V> |
PersistedBTreeBuilder.build(Iterator<Tuple<K,V>> sortedTupleItr) |
BTree<K,V> |
InMemoryBTreeBuilder.build(Iterator<Tuple<K,V>> sortedTupleItr) |
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree()
Creates a new in-memory BTree, with no initialization.
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(InMemoryBTreeConfiguration<K,V> configuration)
Creates a new in-memory BTree using the BTreeConfiguration to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new in-memory BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a new in-memory BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new in-memory BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(String name,
String filePath,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new in-memory BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(String name,
String filePath,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new in-memory BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(String name,
String filePath,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize,
boolean allowDuplicates)
Creates a new in-memory BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree()
Creates a new persisted BTree, with no initialization.
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(PersistedBTreeConfiguration<K,V> configuration)
Creates a new persisted BTree using the BTreeConfiguration to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new persisted BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a new persisted BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates,
int cacheSize)
Creates a new persisted BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new persisted BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize,
boolean allowDuplicates)
Creates a new persisted BTree using the parameters to initialize the
BTree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize,
boolean allowDuplicates,
int cacheSize)
Creates a new persisted BTree using the parameters to initialize the
BTree
|
<K,V> BTree<K,V> |
RecordManager.getManagedTree(String name)
Get one managed trees, knowing its name.
|
BTree<?,V> |
PersistedBTreeConfiguration.getParentBTree() |
Modifier and Type | Method and Description |
---|---|
<K,V> org.apache.directory.mavibot.btree.Page<K,V> |
RecordManager.deserialize(BTree<K,V> btree,
long offset) |
<K,V> void |
RecordManager.manage(BTree<K,V> btree)
Manage a BTree.
|
<K,V> void |
RecordManager.manage(BTree<K,V> btree,
boolean internalTree)
works the same as @see #manage(BTree) except the given tree will not be linked to top level trees that will be
loaded initially if the internalTree flag is set to true
|
void |
PersistedBTreeConfiguration.setParentBTree(BTree<?,V> parentBTree) |
Copyright © 2012-2014 Apache Mavibot Project Parent. All Rights Reserved.