Package | Description |
---|---|
org.apache.directory.mavibot.btree | |
org.apache.directory.mavibot.btree.memory | |
org.apache.directory.mavibot.btree.persisted | |
org.apache.directory.mavibot.btree.util |
Modifier and Type | Method and Description |
---|---|
Tuple<K,V> |
BTree.delete(K key)
Delete the entry which key is given as a parameter.
|
Tuple<K,V> |
BTree.delete(K key,
V value)
Delete the value from an entry associated with the given key.
|
Tuple<K,V> |
TupleCursor.next()
Find the next key/value
|
Tuple<K,V> |
EmptyTupleCursor.next()
Always throws a NoSuchElementException.
|
Tuple<K,V> |
TupleCursor.nextKey()
Get the next non-duplicate key.
|
Tuple<K,V> |
EmptyTupleCursor.nextKey()
Always throws a NoSuchElementException.
|
Tuple<K,V> |
TupleCursor.prev()
Find the previous key/value
|
Tuple<K,V> |
EmptyTupleCursor.prev()
Always throws a NoSuchElementException.
|
Tuple<K,V> |
TupleCursor.prevKey()
Get the previous non-duplicate key.
|
Tuple<K,V> |
EmptyTupleCursor.prevKey()
Always throws a NoSuchElementException.
|
Modifier and Type | Method and Description |
---|---|
int |
TupleComparator.compare(Tuple<K,V> t1,
Tuple<K,V> t2)
Compare two tuples.
|
int |
TupleComparator.compare(Tuple<K,V> t1,
Tuple<K,V> t2)
Compare two tuples.
|
int |
Tuple.compareTo(Tuple<K,V> t) |
Modifier and Type | Method and Description |
---|---|
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> |
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 |
---|---|
Iterator<Tuple<K,V>> |
BulkDataSorter.getMergeSortedTuples() |
Constructor and Description |
---|
BulkDataSorter(TupleReaderWriter<K,V> readerWriter,
Comparator<Tuple<K,V>> tupleComparator,
int splitAfter) |
Modifier and Type | Method and Description |
---|---|
Iterator<Tuple<K,V>> |
BulkDataSorter.getMergeSortedTuples() |
Constructor and Description |
---|
BulkDataSorter(TupleReaderWriter<K,V> readerWriter,
Comparator<Tuple<K,V>> tupleComparator,
int splitAfter) |
Modifier and Type | Method and Description |
---|---|
Tuple<K,V> |
TupleReaderWriter.readSortedTuple(DataInputStream in) |
Tuple<Integer,Integer> |
IntTupleReaderWriter.readSortedTuple(DataInputStream in) |
Tuple<K,V> |
TupleReaderWriter.readUnsortedTuple(DataInputStream in) |
Tuple<Integer,Integer> |
IntTupleReaderWriter.readUnsortedTuple(DataInputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
IntTupleReaderWriter.storeSortedTuple(Tuple<Integer,Integer> t,
DataOutputStream out) |
void |
TupleReaderWriter.storeSortedTuple(Tuple<K,V> t,
DataOutputStream out) |
Copyright © 2012–2015 Apache Mavibot Project Parent. All rights reserved.