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 B-tree 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 BTree<?,?> |
BulkLoader.compact(BTree<?,?> btree)
Compact a given in-memory BTree, making it dense.
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree()
Creates a new in-memory B-tree, with no initialization.
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(InMemoryBTreeConfiguration<K,V> configuration)
Creates a new in-memory B-tree using the BTreeConfiguration to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(String name,
String filePath,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
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 B-tree using the parameters to initialize the
B-tree
|
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 B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree()
Creates a new persisted B-tree, with no initialization.
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(BTreeTypeEnum type)
Creates a new persisted B-tree, with no initialization.
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(PersistedBTreeConfiguration<K,V> configuration)
Creates a new persisted B-tree using the BTreeConfiguration to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates,
int cacheSize)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize,
boolean allowDuplicates)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
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 B-tree using the parameters to initialize the
B-tree
|
<K,V> BTree<K,V> |
RecordManager.getManagedTree(String name)
Get one managed trees, knowing its name.
|
BTree<?,V> |
PersistedBTreeConfiguration.getParentBTree() |
static <K,V> BTree<K,V> |
BulkLoader.load(BTree<K,V> btree,
Iterator<Tuple<K,V>> iterator,
int chunkSize)
Bulk Load data into a persisted BTree
|
Modifier and Type | Method and Description |
---|---|
static BTree<?,?> |
BulkLoader.compact(BTree<?,?> btree)
Compact a given in-memory BTree, making it dense.
|
static void |
BulkLoader.compact(RecordManager recordManager,
BTree<?,?> btree)
Compact a given persisted BTree, making it dense.
|
<K,V> org.apache.directory.mavibot.btree.Page<K,V> |
RecordManager.deserialize(BTree<K,V> btree,
long offset)
Deserialize a Page from a B-tree at a give position
|
void |
PersistedBTree.init(BTree<K,V> parentBTree)
Initialize the BTree.
|
static <K,V> BTree<K,V> |
BulkLoader.load(BTree<K,V> btree,
Iterator<Tuple<K,V>> iterator,
int chunkSize)
Bulk Load data into a persisted BTree
|
<K,V> void |
RecordManager.manage(BTree<K,V> btree)
Manage a B-tree.
|
<K,V> void |
RecordManager.manageSubBtree(BTree<K,V> btree)
Managing a btree is a matter of storing an reference to the managed B-tree in the B-tree Of B-trees.
|
void |
PersistedBTreeConfiguration.setParentBTree(BTree<?,V> parentBTree) |
Copyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.