A B C D E F G H I K L M N O P R S T U V 

A

AbstractElementSerializer<T> - Class in org.apache.directory.mavibot.btree.serializer
An abstract ElementSerializer that implements comon methods
AbstractElementSerializer(Comparator<T>) - Constructor for class org.apache.directory.mavibot.btree.serializer.AbstractElementSerializer
Create a new instance of Serializer
AbstractTransactionManager - Class in org.apache.directory.mavibot.btree
An abstract class implementing the TransactionManager interface.
AbstractTransactionManager() - Constructor for class org.apache.directory.mavibot.btree.AbstractTransactionManager
 
addBTree(String, ElementSerializer<K>, ElementSerializer<V>, boolean) - Method in class org.apache.directory.mavibot.btree.RecordManager
Creates a B-tree and automatically adds it to the list of managed btrees
AFTER_LAST - Static variable in interface org.apache.directory.mavibot.btree.Cursor
 
afterLast() - Method in interface org.apache.directory.mavibot.btree.Cursor
Places the cursor at the end of the last position
afterLast() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Change the position in the current cursor to set it after the last key
afterLast() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Change the position in the current cursor to set it after the last key
afterLast() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Change the position in the current cursor to set it after the last key
afterLast() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Change the position in the current cursor to set it after the last key
ALLOW_DUPLICATES - Static variable in interface org.apache.directory.mavibot.btree.BTree
The B-tree allows duplicate values

B

BadTransactionStateException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we try to use a transaction in a wrong state
BadTransactionStateException() - Constructor for exception org.apache.directory.mavibot.btree.exception.BadTransactionStateException
Creates a new instance of BadTransactionStateException.
BadTransactionStateException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.BadTransactionStateException
Creates a new instance of BadTransactionStateException.
BadTransactionStateException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.BadTransactionStateException
Creates a new instance of BadTransactionStateException.
BadTransactionStateException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.BadTransactionStateException
Creates a new instance of BadTransactionStateException.
BEFORE_FIRST - Static variable in interface org.apache.directory.mavibot.btree.Cursor
Static value for the beforeFrst and afterLast positions
beforeFirst() - Method in interface org.apache.directory.mavibot.btree.Cursor
moves the cursor to the same position that was given at the time of instantiating the cursor.
beforeFirst() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Change the position in the current cursor before the first key
beforeFirst() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Change the position in the current cursor before the first key
beforeFirst() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Change the position in the current cursor before the first key
beforeFirst() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Change the position in the current cursor before the first key
beginReadTransaction() - Method in class org.apache.directory.mavibot.btree.PersistedBTree
Starts a Read Only transaction.
beginReadTransaction(long) - Method in class org.apache.directory.mavibot.btree.PersistedBTree
Starts a Read Only transaction.
beginTransaction() - Method in class org.apache.directory.mavibot.btree.InMemoryTransactionManager
Starts a transaction
beginTransaction() - Method in class org.apache.directory.mavibot.btree.RecordManager
Starts a transaction
beginTransaction() - Method in interface org.apache.directory.mavibot.btree.TransactionManager
Starts a transaction
BooleanArrayComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares boolean arrays.
BooleanComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares booleans
BooleanSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Boolean serializer.
browse() - Method in interface org.apache.directory.mavibot.btree.BTree
Creates a cursor starting at the beginning of the tree
browse(long) - Method in interface org.apache.directory.mavibot.btree.BTree
Creates a cursor starting at the beginning of the tree, for a given revision
browseFrom(K) - Method in interface org.apache.directory.mavibot.btree.BTree
Creates a cursor starting on the given key
browseFrom(long, K) - Method in interface org.apache.directory.mavibot.btree.BTree
Creates a cursor starting on the given key at the given revision
browseKeys() - Method in interface org.apache.directory.mavibot.btree.BTree
Creates a cursor starting at the beginning of the tree
BTree<K,V> - Interface in org.apache.directory.mavibot.btree
A B-tree interface, to be implemented by the PersistedBTree or the InMemoryBTree
BTreeAlreadyCreatedException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we try to create a BTree which already exists
BTreeAlreadyCreatedException() - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeAlreadyCreatedException
Creates a new instance of BTreeAlreadyCreatedException.
BTreeAlreadyCreatedException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeAlreadyCreatedException
Creates a new instance of BTreeAlreadyCreatedException.
BTreeAlreadyCreatedException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeAlreadyCreatedException
Creates a new instance of BTreeAlreadyCreatedException.
BTreeAlreadyCreatedException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeAlreadyCreatedException
Creates a new instance of BTreeAlreadyCreatedException.
BTreeAlreadyManagedException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we try to manage a BTree which name is already managed by the RecordManager
BTreeAlreadyManagedException() - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeAlreadyManagedException
Creates a new instance of BtreeAlreadyManagedException.
BTreeAlreadyManagedException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeAlreadyManagedException
Creates a new instance of BtreeAlreadyManagedException.
BTreeAlreadyManagedException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeAlreadyManagedException
Creates a new instance of BtreeAlreadyManagedException.
BTreeAlreadyManagedException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeAlreadyManagedException
Creates a new instance of KeyNotFoundException.
BTreeCreationException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we try to create a BTree and it fails
BTreeCreationException() - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeCreationException
Creates a new instance of BTreeCreationException.
BTreeCreationException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeCreationException
Creates a new instance of BTreeCreationException.
BTreeCreationException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeCreationException
Creates a new instance of BTreeCreationException.
BTreeCreationException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeCreationException
Creates a new instance of BTreeCreationException.
BTreeFactory<K,V> - Class in org.apache.directory.mavibot.btree
This class construct a B-tree from a serialized version of a B-tree.
BTreeFactory() - Constructor for class org.apache.directory.mavibot.btree.BTreeFactory
 
BTreeOperationException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when an operation on a BTree failed
BTreeOperationException() - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeOperationException
Creates a new instance of BTreeOperationException.
BTreeOperationException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeOperationException
Creates a new instance of BTreeOperationException.
BTreeOperationException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeOperationException
Creates a new instance of BTreeOperationException.
BTreeOperationException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.BTreeOperationException
Creates a new instance of BTreeOperationException.
BTreeTypeEnum - Enum in org.apache.directory.mavibot.btree
An enum to describe the B-tree type.
BufferHandler - Class in org.apache.directory.mavibot.btree.serializer
A class used to hide the buffer read from the underlying file.
BufferHandler(byte[]) - Constructor for class org.apache.directory.mavibot.btree.serializer.BufferHandler
Create a new BufferHandler
BufferHandler(FileChannel, ByteBuffer) - Constructor for class org.apache.directory.mavibot.btree.serializer.BufferHandler
Create a new BufferHandler
build(Iterator<Tuple<K, V>>) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeBuilder
 
build(Iterator<Tuple<K, V>>) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeBuilder
 
BulkDataSorter<K,V> - Class in org.apache.directory.mavibot.btree.memory
A utility class for sorting a large number of keys before building a BTree using InMemoryBTreeBuilder.
BulkDataSorter(TupleReaderWriter<K, V>, Comparator<Tuple<K, V>>, int) - Constructor for class org.apache.directory.mavibot.btree.memory.BulkDataSorter
 
BulkDataSorter<K,V> - Class in org.apache.directory.mavibot.btree.persisted
A utility class for sorting a large number of keys before building a BTree using PersistedBTreeBuilder.
BulkDataSorter(TupleReaderWriter<K, V>, Comparator<Tuple<K, V>>, int) - Constructor for class org.apache.directory.mavibot.btree.persisted.BulkDataSorter
 
ByteArrayComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares byte arrays.
ByteArraySerializer - Class in org.apache.directory.mavibot.btree.serializer
A serializer for a byte[].
ByteArraySerializer(Comparator<byte[]>) - Constructor for class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
Create a new instance of ByteArraySerializer with custom comparator
ByteComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares bytes
ByteSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Byte serializer.

C

cache - Variable in class org.apache.directory.mavibot.btree.PersistedBTree
The cache associated with this B-tree
cacheSize - Variable in class org.apache.directory.mavibot.btree.PersistedBTree
The cache size, default to 1000 elements
CharArrayComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares char arrays
CharArraySerializer - Class in org.apache.directory.mavibot.btree.serializer
A serializer for a char[].
CharComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares chars
CharSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Character serializer.
checkBTree() - Method in class org.apache.directory.mavibot.btree.MavibotInspector
Check a B-tree
close() - Method in interface org.apache.directory.mavibot.btree.BTree
Close the B-tree, cleaning up all the data structure
close() - Method in interface org.apache.directory.mavibot.btree.Cursor
Closes the cursor, thus releases the associated transaction
close() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
close() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Closes the cursor, thus releases the associated transaction
close() - Method in class org.apache.directory.mavibot.btree.KeyCursor
close() - Method in class org.apache.directory.mavibot.btree.PersistedBTree
Close the BTree, cleaning up all the data structure
close() - Method in class org.apache.directory.mavibot.btree.ReadTransaction
Close the transaction, releasing the revision it was using.
close() - Method in class org.apache.directory.mavibot.btree.RecordManager
Close the RecordManager and flush everything on disk
close() - Method in class org.apache.directory.mavibot.btree.TupleCursor
commit() - Method in class org.apache.directory.mavibot.btree.InMemoryTransactionManager
Commits a transaction
commit() - Method in class org.apache.directory.mavibot.btree.RecordManager
Commits a transaction
commit() - Method in interface org.apache.directory.mavibot.btree.TransactionManager
Commits a transaction
compare(boolean[], boolean[]) - Method in class org.apache.directory.mavibot.btree.comparator.BooleanArrayComparator
Compare two boolean arrays.
compare(Boolean, Boolean) - Method in class org.apache.directory.mavibot.btree.comparator.BooleanComparator
Compare two booleans.
compare(byte[], byte[]) - Method in class org.apache.directory.mavibot.btree.comparator.ByteArrayComparator
Compare two byte arrays.
compare(Byte, Byte) - Method in class org.apache.directory.mavibot.btree.comparator.ByteComparator
Compare two bytes.
compare(char[], char[]) - Method in class org.apache.directory.mavibot.btree.comparator.CharArrayComparator
Compare two char arrays.
compare(Character, Character) - Method in class org.apache.directory.mavibot.btree.comparator.CharComparator
Compare two chars.
compare(int[], int[]) - Method in class org.apache.directory.mavibot.btree.comparator.IntArrayComparator
Compare two long arrays.
compare(Integer, Integer) - Method in class org.apache.directory.mavibot.btree.comparator.IntComparator
Compare two integers.
compare(long[], long[]) - Method in class org.apache.directory.mavibot.btree.comparator.LongArrayComparator
Compare two long arrays.
compare(Long, Long) - Method in class org.apache.directory.mavibot.btree.comparator.LongComparator
Compare two longs.
compare(short[], short[]) - Method in class org.apache.directory.mavibot.btree.comparator.ShortArrayComparator
Compare two short arrays.
compare(Short, Short) - Method in class org.apache.directory.mavibot.btree.comparator.ShortComparator
Compare two shorts.
compare(String, String) - Method in class org.apache.directory.mavibot.btree.comparator.StringComparator
Compare two Strings.
compare(T, T) - Method in class org.apache.directory.mavibot.btree.serializer.AbstractElementSerializer
Returns the comparison of two types.
compare(T, T) - Method in interface org.apache.directory.mavibot.btree.serializer.ElementSerializer
Returns the comparison of two types.
compare(long[], long[]) - Method in class org.apache.directory.mavibot.btree.serializer.LongArraySerializer
Returns the comparison of two types.
compare(T, T) - Method in interface org.apache.directory.mavibot.btree.serializer.Serializer
Returns the comparison of two types.
compare(String, String) - Method in class org.apache.directory.mavibot.btree.serializer.StringSerializer
Returns the comparison of two types.
contains(K, V) - Method in interface org.apache.directory.mavibot.btree.BTree
Checks if the B-tree contains the given key with the given value.
contains(long, K, V) - Method in interface org.apache.directory.mavibot.btree.BTree
Checks if the B-tree contains the given key with the given value for a given revision
createInMemoryBTree() - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory B-tree, with no initialization.
createInMemoryBTree(InMemoryBTreeConfiguration<K, V>) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory B-tree using the BTreeConfiguration to initialize the B-tree
createInMemoryBTree(String, ElementSerializer<K>, ElementSerializer<V>) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory B-tree using the parameters to initialize the B-tree
createInMemoryBTree(String, ElementSerializer<K>, ElementSerializer<V>, boolean) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory B-tree using the parameters to initialize the B-tree
createInMemoryBTree(String, ElementSerializer<K>, ElementSerializer<V>, int) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory B-tree using the parameters to initialize the B-tree
createInMemoryBTree(String, String, ElementSerializer<K>, ElementSerializer<V>) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory B-tree using the parameters to initialize the B-tree
createInMemoryBTree(String, String, ElementSerializer<K>, ElementSerializer<V>, int) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory B-tree using the parameters to initialize the B-tree
createInMemoryBTree(String, String, ElementSerializer<K>, ElementSerializer<V>, int, boolean) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory B-tree using the parameters to initialize the B-tree
createPersistedBTree() - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted B-tree, with no initialization.
createPersistedBTree(BTreeTypeEnum) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted B-tree, with no initialization.
createPersistedBTree(PersistedBTreeConfiguration<K, V>) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted B-tree using the BTreeConfiguration to initialize the B-tree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted B-tree using the parameters to initialize the B-tree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>, boolean) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted B-tree using the parameters to initialize the B-tree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>, boolean, int) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted B-tree using the parameters to initialize the B-tree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>, int) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted B-tree using the parameters to initialize the B-tree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>, int, boolean) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted B-tree using the parameters to initialize the B-tree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>, int, boolean, int) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted B-tree using the parameters to initialize the B-tree
Cursor<K> - Interface in org.apache.directory.mavibot.btree
A Cursor is used to fetch elements in a BTree and is returned by the

D

DEFAULT_CACHE_SIZE - Static variable in class org.apache.directory.mavibot.btree.PersistedBTree
The default number of pages to keep in memory
DEFAULT_PAGE_SIZE - Static variable in interface org.apache.directory.mavibot.btree.BTree
Default page size (number of entries per node)
DEFAULT_PAGE_SIZE - Static variable in class org.apache.directory.mavibot.btree.RecordManager
The default page size
DEFAULT_READ_TIMEOUT - Static variable in interface org.apache.directory.mavibot.btree.BTree
Define a default delay for a read transaction.
DEFAULT_WRITE_BUFFER_SIZE - Static variable in interface org.apache.directory.mavibot.btree.BTree
Default size of the buffer used to write data on disk.
delete(K) - Method in interface org.apache.directory.mavibot.btree.BTree
Delete the entry which key is given as a parameter.
delete(K, V) - Method in interface org.apache.directory.mavibot.btree.BTree
Delete the value from an entry associated with the given key.
depth - Variable in class org.apache.directory.mavibot.btree.KeyCursor
The stack's depth
depth - Variable in class org.apache.directory.mavibot.btree.TupleCursor
The stack's depth
deserialize(BTree<K, V>, long) - Method in class org.apache.directory.mavibot.btree.RecordManager
Deserialize a Page from a B-tree at a give position
deserialize(byte[]) - Static method in class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
A static method used to deserialize a Boolean from a byte array.
deserialize(byte[], int) - Static method in class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
A static method used to deserialize a Boolean from a byte array.
deserialize(ByteBuffer) - Method in class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
Deserialize an element from a ByteBuffer
deserialize(BufferHandler) - Method in class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
Deserialize an element from a BufferHandler
deserialize(byte[]) - Static method in class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
A static method used to deserialize a byte array from a byte array.
deserialize(byte[], int) - Static method in class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
A static method used to deserialize a byte array from a byte array.
deserialize(BufferHandler) - Method in class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
Deserialize an element from a BufferHandler
deserialize(ByteBuffer) - Method in class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
Deserialize an element from a ByteBuffer
deserialize(byte[]) - Static method in class org.apache.directory.mavibot.btree.serializer.ByteSerializer
A static method used to deserialize a Byte from a byte array.
deserialize(byte[], int) - Static method in class org.apache.directory.mavibot.btree.serializer.ByteSerializer
A static method used to deserialize a Byte from a byte array.
deserialize(ByteBuffer) - Method in class org.apache.directory.mavibot.btree.serializer.ByteSerializer
Deserialize an element from a ByteBuffer
deserialize(BufferHandler) - Method in class org.apache.directory.mavibot.btree.serializer.ByteSerializer
Deserialize an element from a BufferHandler
deserialize(byte[]) - Static method in class org.apache.directory.mavibot.btree.serializer.CharArraySerializer
A static method used to deserialize a char array from a byte array.
deserialize(BufferHandler) - Method in class org.apache.directory.mavibot.btree.serializer.CharArraySerializer
Deserialize an element from a BufferHandler
deserialize(ByteBuffer) - Method in class org.apache.directory.mavibot.btree.serializer.CharArraySerializer
Deserialize an element from a ByteBuffer
deserialize(byte[]) - Static method in class org.apache.directory.mavibot.btree.serializer.CharSerializer
A static method used to deserialize a Character from a byte array.
deserialize(byte[], int) - Static method in class org.apache.directory.mavibot.btree.serializer.CharSerializer
A static method used to deserialize a Character from a byte array.
deserialize(ByteBuffer) - Method in class org.apache.directory.mavibot.btree.serializer.CharSerializer
Deserialize an element from a ByteBuffer
deserialize(BufferHandler) - Method in class org.apache.directory.mavibot.btree.serializer.CharSerializer
Deserialize an element from a BufferHandler
deserialize(BufferHandler) - Method in interface org.apache.directory.mavibot.btree.serializer.ElementSerializer
Deserialize an element from a BufferHandler
deserialize(ByteBuffer) - Method in interface org.apache.directory.mavibot.btree.serializer.ElementSerializer
Deserialize an element from a ByteBuffer
deserialize(byte[]) - Static method in class org.apache.directory.mavibot.btree.serializer.IntSerializer
A static method used to deserialize an Integer from a byte array.
deserialize(byte[], int) - Static method in class org.apache.directory.mavibot.btree.serializer.IntSerializer
A static method used to deserialize an Integer from a byte array.
deserialize(ByteBuffer) - Method in class org.apache.directory.mavibot.btree.serializer.IntSerializer
Deserialize an element from a ByteBuffer
deserialize(BufferHandler) - Method in class org.apache.directory.mavibot.btree.serializer.IntSerializer
Deserialize an element from a BufferHandler
deserialize(BufferHandler) - Method in class org.apache.directory.mavibot.btree.serializer.LongArraySerializer
Deserialize an element from a BufferHandler
deserialize(ByteBuffer) - Method in class org.apache.directory.mavibot.btree.serializer.LongArraySerializer
Deserialize an element from a ByteBuffer
deserialize(byte[]) - Static method in class org.apache.directory.mavibot.btree.serializer.LongSerializer
A static method used to deserialize a Long from a byte array.
deserialize(byte[], int) - Static method in class org.apache.directory.mavibot.btree.serializer.LongSerializer
A static method used to deserialize an Integer from a byte array.
deserialize(BufferHandler) - Method in class org.apache.directory.mavibot.btree.serializer.LongSerializer
Deserialize an element from a BufferHandler
deserialize(ByteBuffer) - Method in class org.apache.directory.mavibot.btree.serializer.LongSerializer
Deserialize an element from a ByteBuffer
deserialize(BufferHandler) - Method in interface org.apache.directory.mavibot.btree.serializer.Serializer
Deserialize a type from a byte[]
deserialize(byte[]) - Static method in class org.apache.directory.mavibot.btree.serializer.ShortSerializer
A static method used to deserialize a Short from a byte array.
deserialize(byte[], int) - Static method in class org.apache.directory.mavibot.btree.serializer.ShortSerializer
A static method used to deserialize a Short from a byte array.
deserialize(ByteBuffer) - Method in class org.apache.directory.mavibot.btree.serializer.ShortSerializer
Deserialize an element from a ByteBuffer
deserialize(BufferHandler) - Method in class org.apache.directory.mavibot.btree.serializer.ShortSerializer
Deserialize an element from a BufferHandler
deserialize(byte[]) - Static method in class org.apache.directory.mavibot.btree.serializer.StringSerializer
A static method used to deserialize a String from a byte array.
deserialize(byte[], int) - Static method in class org.apache.directory.mavibot.btree.serializer.StringSerializer
A static method used to deserialize a String from a byte array.
deserialize(BufferHandler) - Method in class org.apache.directory.mavibot.btree.serializer.StringSerializer
Deserialize an element from a BufferHandler
deserialize(ByteBuffer) - Method in class org.apache.directory.mavibot.btree.serializer.StringSerializer
Deserialize an element from a ByteBuffer
dump(byte) - Static method in class org.apache.directory.mavibot.btree.RecordManager
 
dump() - Method in class org.apache.directory.mavibot.btree.RecordManager
Dump the RecordManager file
dumpByte(byte) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Helper function that dump a byte in hex form
dumpBytes(byte[]) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Helper function that dump an array of bytes in hex form
dumpHex(byte) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Helper function that returns a char from an hex
dumpHexPairs(byte[]) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Helper function that dump an array of bytes in hex pair form, without '0x' and space chars
DuplicateValueNotAllowedException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we try to add a second value for a key into a BTree that does not accept duplicate values.
DuplicateValueNotAllowedException() - Constructor for exception org.apache.directory.mavibot.btree.exception.DuplicateValueNotAllowedException
Creates a new instance of DuplicateValueNotAllowedException.
DuplicateValueNotAllowedException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.DuplicateValueNotAllowedException
Creates a new instance of DuplicateValueNotAllowedException.
DuplicateValueNotAllowedException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.DuplicateValueNotAllowedException
Creates a new instance of DuplicateValueNotAllowedException.
DuplicateValueNotAllowedException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.DuplicateValueNotAllowedException
Creates a new instance of DuplicateValueNotAllowedException.

E

ElementSerializer<T> - Interface in org.apache.directory.mavibot.btree.serializer
This interface is used by implementations of serializer, deserializer and comparator.
EMPTY_BYTES - Static variable in class org.apache.directory.mavibot.btree.util.Strings
A empty byte array
EmptyTupleCursor<K,V> - Class in org.apache.directory.mavibot.btree
A Cursor which is used when we have no element to return
EmptyTupleCursor(long) - Constructor for class org.apache.directory.mavibot.btree.EmptyTupleCursor
Creates a new instance of Cursor, starting on a page at a given position.
EmptyValueCursor<V> - Class in org.apache.directory.mavibot.btree
A Cursor which is used when we have no value to return
EmptyValueCursor(long) - Constructor for class org.apache.directory.mavibot.btree.EmptyValueCursor
Creates a new instance of Cursor, starting on a page at a given position.
EndOfFileExceededException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we try to access a page beyond the file's size.
EndOfFileExceededException() - Constructor for exception org.apache.directory.mavibot.btree.exception.EndOfFileExceededException
Creates a new instance of EndOfFileExceededException.
EndOfFileExceededException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.EndOfFileExceededException
Creates a new instance of EndOfFileExceededException.
EndOfFileExceededException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.EndOfFileExceededException
Creates a new instance of EndOfFileExceededException.
EndOfFileExceededException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.EndOfFileExceededException
Creates a new instance of EndOfFileExceededException.

F

FileException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when there is a problem writing data on disk
FileException() - Constructor for exception org.apache.directory.mavibot.btree.exception.FileException
Creates a new instance of FileException.
FileException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.FileException
Creates a new instance of FileException.
FileException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.FileException
Creates a new instance of FileException.
FileException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.FileException
Creates a new instance of FileException.
flush() - Method in interface org.apache.directory.mavibot.btree.BTree
Flush the latest revision to disk.
FORBID_DUPLICATES - Static variable in interface org.apache.directory.mavibot.btree.BTree
The B-tree forbids duplicate values
FreePageException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we have an error while managing the free pages
FreePageException() - Constructor for exception org.apache.directory.mavibot.btree.exception.FreePageException
Creates a new instance of FreePageException.
FreePageException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.FreePageException
Creates a new instance of FreePageException.
FreePageException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.FreePageException
Creates a new instance of FreePageException.
FreePageException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.FreePageException
Creates a new instance of FreePageException.
fromBytes(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
A method used to deserialize a Boolean from a byte array.
fromBytes(byte[], int) - Method in class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
A method used to deserialize a Boolean from a byte array.
fromBytes(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
A method used to deserialize a byte array from a byte array.
fromBytes(byte[], int) - Method in class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
A method used to deserialize a byte array from a byte array.
fromBytes(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.ByteSerializer
A method used to deserialize a Byte from a byte array.
fromBytes(byte[], int) - Method in class org.apache.directory.mavibot.btree.serializer.ByteSerializer
A method used to deserialize a Byte from a byte array.
fromBytes(byte[], int) - Method in class org.apache.directory.mavibot.btree.serializer.CharArraySerializer
A method used to deserialize a char array from a byte array.
fromBytes(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.CharArraySerializer
A method used to deserialize a char array from a byte array.
fromBytes(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.CharSerializer
A method used to deserialize a Character from a byte array.
fromBytes(byte[], int) - Method in class org.apache.directory.mavibot.btree.serializer.CharSerializer
A static method used to deserialize a Character from a byte array.
fromBytes(byte[]) - Method in interface org.apache.directory.mavibot.btree.serializer.ElementSerializer
Deserialize an element from a byte[]
fromBytes(byte[], int) - Method in interface org.apache.directory.mavibot.btree.serializer.ElementSerializer
Deserialize an element from a byte[]
fromBytes(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.IntSerializer
A method used to deserialize an Integer from a byte array.
fromBytes(byte[], int) - Method in class org.apache.directory.mavibot.btree.serializer.IntSerializer
A method used to deserialize an Integer from a byte array.
fromBytes(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.LongArraySerializer
 
fromBytes(byte[], int) - Method in class org.apache.directory.mavibot.btree.serializer.LongArraySerializer
 
fromBytes(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.LongSerializer
A method used to deserialize a Long from a byte array.
fromBytes(byte[], int) - Method in class org.apache.directory.mavibot.btree.serializer.LongSerializer
A method used to deserialize an Integer from a byte array.
fromBytes(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.ShortSerializer
A method used to deserialize a Short from a byte array.
fromBytes(byte[], int) - Method in class org.apache.directory.mavibot.btree.serializer.ShortSerializer
A method used to deserialize a Short from a byte array.
fromBytes(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.StringSerializer
A method used to deserialize a String from a byte array.
fromBytes(byte[], int) - Method in class org.apache.directory.mavibot.btree.serializer.StringSerializer
A method used to deserialize a String from a byte array.

G

get(K) - Method in interface org.apache.directory.mavibot.btree.BTree
Find a value in the tree, given its key.
get(long, K) - Method in interface org.apache.directory.mavibot.btree.BTree
Find a value in the tree, given its key, at a specific revision.
getBTreeHeader(String) - Method in class org.apache.directory.mavibot.btree.InMemoryTransactionManager
Get the current BTreeHeader for a given Btree.
getBtreeHeader() - Method in class org.apache.directory.mavibot.btree.ReadTransaction
 
getBTreeHeader(String) - Method in class org.apache.directory.mavibot.btree.RecordManager
Get the current BTreeHeader for a given Btree.
getBTreeHeader(String) - Method in interface org.apache.directory.mavibot.btree.TransactionManager
Gets the current BtreeHeader for a given BTree.
getBtreeInfoOffset() - Method in class org.apache.directory.mavibot.btree.PersistedBTree
 
getBtreeType() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
getBuffer() - Method in class org.apache.directory.mavibot.btree.serializer.BufferHandler
 
getBytesUtf8(String) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Return UTF-8 encoded byte[] representation of a String
getBytesUtf8Ascii(String) - Static method in class org.apache.directory.mavibot.btree.util.Strings
When the string to convert to bytes is pure ascii, this is a faster method than the getBytesUtf8.
getCacheSize() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
getCheckPointDelay() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getComparator() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getComparator() - Method in class org.apache.directory.mavibot.btree.serializer.AbstractElementSerializer
getComparator() - Method in interface org.apache.directory.mavibot.btree.serializer.ElementSerializer
 
getCreationDate() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Get the creation date
getCreationDate() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Get the creation date
getCreationDate() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Get the creation date
getCreationDate() - Method in class org.apache.directory.mavibot.btree.ReadTransaction
 
getCreationDate() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Get the creation date
getFilePath() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getFilePath() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
getJournalName() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getJournalSize() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getKey() - Method in class org.apache.directory.mavibot.btree.Tuple
 
getKeySerializer() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getKeySerializer() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getKeySerializer() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
getKeySerializerFQCN() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getManagedTree(String) - Method in class org.apache.directory.mavibot.btree.RecordManager
Get one managed trees, knowing its name.
getManagedTrees() - Method in class org.apache.directory.mavibot.btree.RecordManager
Get the managed B-trees.
getMergeSortedTuples() - Method in class org.apache.directory.mavibot.btree.memory.BulkDataSorter
 
getMergeSortedTuples() - Method in class org.apache.directory.mavibot.btree.persisted.BulkDataSorter
 
getName() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getName() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getName() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
getNbElems() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getNbManagedTrees() - Method in class org.apache.directory.mavibot.btree.RecordManager
Get the number of managed trees.
getNewBTreeHeader(String) - Method in class org.apache.directory.mavibot.btree.RecordManager
Get the new BTreeHeader for a given Btree.
getPageSize() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getPageSize() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getPageSize() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
getPageSize() - Method in class org.apache.directory.mavibot.btree.RecordManager
 
getParentBTree() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
getReadTimeOut() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getReadTimeOut() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getReadTimeOut() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
getRevision() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getRevision() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Get the current revision
getRevision() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Get the current revision
getRevision() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Get the current revision
getRevision() - Method in class org.apache.directory.mavibot.btree.ReadTransaction
 
getRevision() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Get the current revision
getRootPage(long) - Method in interface org.apache.directory.mavibot.btree.BTree
Get the rootPage associated to a given revision.
getRootPage() - Method in interface org.apache.directory.mavibot.btree.BTree
Get the current rootPage
getRootPage(long) - Method in class org.apache.directory.mavibot.btree.PersistedBTree
Get the rootPzge associated to a give revision.
getRootPage() - Method in class org.apache.directory.mavibot.btree.PersistedBTree
Get the current rootPage
getType() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getType() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getType() - Method in class org.apache.directory.mavibot.btree.serializer.AbstractElementSerializer
getType() - Method in interface org.apache.directory.mavibot.btree.serializer.ElementSerializer
 
getValue() - Method in class org.apache.directory.mavibot.btree.Tuple
 
getValues(K) - Method in interface org.apache.directory.mavibot.btree.BTree
 
getValueSerializer() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getValueSerializer() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getValueSerializer() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
getValueSerializerFQCN() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getWorkDir() - Method in class org.apache.directory.mavibot.btree.memory.BulkDataSorter
 
getWorkDir() - Method in class org.apache.directory.mavibot.btree.persisted.BulkDataSorter
 
getWriteBufferSize() - Method in interface org.apache.directory.mavibot.btree.BTree
 
getWriteBufferSize() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
getWriteBufferSize() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 

H

hasKey(K) - Method in interface org.apache.directory.mavibot.btree.BTree
Checks if the given key exists.
hasKey(long, K) - Method in interface org.apache.directory.mavibot.btree.BTree
Checks if the given key exists for a given revision.
hasNext() - Method in interface org.apache.directory.mavibot.btree.Cursor
Tells if the cursor can return a next element
hasNext() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Tells if the cursor can return a next element
hasNext() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Tells if the cursor can return a next element
hasNext() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Tells if the cursor can return a next element
hasNext() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Tells if the cursor can return a next element
hasNextKey() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Tells if the cursor can return a next key
hasNextKey() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Tells if the cursor can return a next key
hasNextKey() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Tells if the cursor can return a next key
hasNextKey() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Tells if the cursor can return a next key
hasPrev() - Method in interface org.apache.directory.mavibot.btree.Cursor
Tells if the cursor can return a previous element
hasPrev() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Tells if the cursor can return a previous element
hasPrev() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Tells if the cursor can return a previous element
hasPrev() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Tells if the cursor can return a previous element
hasPrev() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Tells if the cursor can return a previous element
hasPrevKey() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Tells if the cursor can return a previous key
hasPrevKey() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Tells if the cursor can return a previous key
hasPrevKey() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Tells if the cursor can return a previous key
hasPrevKey() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Tells if the cursor can return a previous key

I

init(BTree<K, V>) - Method in class org.apache.directory.mavibot.btree.PersistedBTree
Initialize the BTree.
InitializationException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when the BTree initialization failed
InitializationException() - Constructor for exception org.apache.directory.mavibot.btree.exception.InitializationException
Creates a new instance of InitializationException.
InitializationException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.InitializationException
Creates a new instance of InitializationException.
InitializationException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.InitializationException
Creates a new instance of InitializationException.
InitializationException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.InitializationException
Creates a new instance of InitializationException.
InMemoryBTreeBuilder<K,V> - Class in org.apache.directory.mavibot.btree
A BTree builder that builds a tree from the bottom.
InMemoryBTreeBuilder(String, int, ElementSerializer<K>, ElementSerializer<V>) - Constructor for class org.apache.directory.mavibot.btree.InMemoryBTreeBuilder
 
InMemoryBTreeConfiguration<K,V> - Class in org.apache.directory.mavibot.btree
The B+Tree Configuration.
InMemoryBTreeConfiguration() - Constructor for class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
InMemoryTransactionManager - Class in org.apache.directory.mavibot.btree
An implementation of a TransactionManager for in-memory B-trees
InMemoryTransactionManager() - Constructor for class org.apache.directory.mavibot.btree.InMemoryTransactionManager
 
insert(K, V) - Method in interface org.apache.directory.mavibot.btree.BTree
Insert an entry in the B-tree.
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.BooleanArrayComparator
A static instance of a BooleanArrayComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.BooleanComparator
A static instance of a BooleanComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.ByteArrayComparator
A static instance of a ByteArrayComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.ByteComparator
A static instance of a ByteComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.CharArrayComparator
A static instance of a CharArrayComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.CharComparator
A static instance of a CharComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.IntArrayComparator
A static instance of a IntArrayComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.IntComparator
A static instance of a IntComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.LongArrayComparator
A static instance of a LongArrayComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.LongComparator
A static instance of a LongComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.ShortArrayComparator
A static instance of a ShortArrayComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.ShortComparator
A static instance of a ShortComparator
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.comparator.StringComparator
A static instance of a StringComparator
INSTANCE - Static variable in exception org.apache.directory.mavibot.btree.exception.KeyNotFoundException
A static Exception used to avoid creating a new one every time
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
A static instance of a BooleanSerializer
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
A static instance of a BytearraySerializer
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.ByteSerializer
A static instance of a ByteSerializer
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.CharArraySerializer
A static instance of a CharArraySerializer
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.CharSerializer
A static instance of a CharSerializer
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.IntSerializer
A static instance of a IntSerializer
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.LongArraySerializer
A static instance of a LongArraySerializer
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.LongSerializer
A static instance of a LongSerializer
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.ShortSerializer
A static instance of a ShortSerializer
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.StringSerializer
A static instance of a StringSerializer
IntArrayComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares int arrays
IntComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares integers
INTERNAL_BTREE - Static variable in class org.apache.directory.mavibot.btree.RecordManager
A flag used by internal btrees
IntSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Integer serializer.
IntTupleReaderWriter - Class in org.apache.directory.mavibot.btree.util
TODO IntTupleReaderWriter.
IntTupleReaderWriter() - Constructor for class org.apache.directory.mavibot.btree.util.IntTupleReaderWriter
 
InvalidBTreeException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when the BTree is detected as invalid during a check
InvalidBTreeException() - Constructor for exception org.apache.directory.mavibot.btree.exception.InvalidBTreeException
Creates a new instance of InvalidBTreeException.
InvalidBTreeException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.InvalidBTreeException
Creates a new instance of InvalidBTreeException.
InvalidBTreeException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.InvalidBTreeException
Creates a new instance of InvalidBTreeException.
InvalidBTreeException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.InvalidBTreeException
Creates a new instance of InvalidBTreeException.
InvalidOffsetException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when the offset is incorrect
InvalidOffsetException() - Constructor for exception org.apache.directory.mavibot.btree.exception.InvalidOffsetException
Creates a new instance of InvalidOffsetException.
InvalidOffsetException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.InvalidOffsetException
Creates a new instance of InvalidOffsetException.
InvalidOffsetException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.InvalidOffsetException
Creates a new instance of InvalidOffsetException.
InvalidOffsetException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.InvalidOffsetException
Creates a new instance of BTreeCreationException.
isAllowDuplicates() - Method in interface org.apache.directory.mavibot.btree.BTree
 
isAllowDuplicates() - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
isAllowDuplicates() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
isClosed() - Method in class org.apache.directory.mavibot.btree.ReadTransaction
 
isContextOk() - Method in class org.apache.directory.mavibot.btree.RecordManager
 
isEmpty(String) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Checks if a String is empty ("") or null.
isEmpty(byte[]) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Checks if a bytes array is empty or null.
isKeepRevisions() - Method in class org.apache.directory.mavibot.btree.RecordManager
 

K

KeyCursor<K> - Class in org.apache.directory.mavibot.btree
A Cursor is used to fetch only keys in a BTree and is returned by the
KeyCursor() - Constructor for class org.apache.directory.mavibot.btree.KeyCursor
Creates a new instance of Cursor.
KeyCursor(ReadTransaction<K, K>, ParentPos<K, K>[], int) - Constructor for class org.apache.directory.mavibot.btree.KeyCursor
Creates a new instance of Cursor, starting on a page at a given position.
KeyNotFoundException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we can't find a key in the BTree.
KeyNotFoundException() - Constructor for exception org.apache.directory.mavibot.btree.exception.KeyNotFoundException
Creates a new instance of KeyNotFoundException.
KeyNotFoundException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.KeyNotFoundException
Creates a new instance of KeyNotFoundException.
KeyNotFoundException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.KeyNotFoundException
Creates a new instance of KeyNotFoundException.
KeyNotFoundException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.KeyNotFoundException
Creates a new instance of KeyNotFoundException.

L

listToString(List<?>) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Utility method that return a String representation of a list
listToString(List<?>, String) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Utility method that return a String representation of a list
LOG - Static variable in class org.apache.directory.mavibot.btree.PersistedBTree
The LoggerFactory used by this class
LOG - Static variable in class org.apache.directory.mavibot.btree.RecordManager
The LoggerFactory used by this class
LOG_CHECK - Static variable in class org.apache.directory.mavibot.btree.RecordManager
A dedicated logger for the check
LOG_PAGES - Static variable in class org.apache.directory.mavibot.btree.PersistedBTree
 
LOG_PAGES - Static variable in class org.apache.directory.mavibot.btree.RecordManager
The LoggerFactory used by this class
LongArrayComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares long arrays
LongArraySerializer - Class in org.apache.directory.mavibot.btree.serializer
A serializer for a Long[].
LongComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares Longs
LongSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Long serializer.

M

main(String[]) - Static method in class org.apache.directory.mavibot.btree.MavibotInspector
Main method
manage(BTree<K, V>) - Method in class org.apache.directory.mavibot.btree.RecordManager
Manage a B-tree.
manage(BTree<K, V>, boolean) - Method in class org.apache.directory.mavibot.btree.RecordManager
Managing a btree is a matter of storing an reference to the managed B-tree in the B-tree Of B-trees.
mapToString(Map<?, ?>) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Utility method that return a String representation of a map.
mapToString(Map<?, ?>, String) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Utility method that return a String representation of a map.
MavibotInspector - Class in org.apache.directory.mavibot.btree
A class to examine a Mavibot database file.
MavibotInspector(File) - Constructor for class org.apache.directory.mavibot.btree.MavibotInspector
A private class to store a few informations about a btree private static BtreeInfo btreeInfo; static { btreeInfo = new BtreeInfo(); } /** Create an instance of MavibotInspector
MissingSerializerException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we don't have either a key serializer or a value serializer
MissingSerializerException() - Constructor for exception org.apache.directory.mavibot.btree.exception.MissingSerializerException
Creates a new instance of MissingSerializerException.
MissingSerializerException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.MissingSerializerException
Creates a new instance of MissingSerializerException.
MissingSerializerException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.MissingSerializerException
Creates a new instance of MissingSerializerException.
MissingSerializerException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.MissingSerializerException
Creates a new instance of MissingSerializerException.

N

nbCreatedPages - Variable in class org.apache.directory.mavibot.btree.RecordManager
 
nbFreedPages - Variable in class org.apache.directory.mavibot.btree.RecordManager
Some counters to track the number of free pages
nbReusedPages - Variable in class org.apache.directory.mavibot.btree.RecordManager
 
nbUpdateBtreeHeader - Variable in class org.apache.directory.mavibot.btree.RecordManager
 
nbUpdatePageIOs - Variable in class org.apache.directory.mavibot.btree.RecordManager
 
nbUpdateRMHeader - Variable in class org.apache.directory.mavibot.btree.RecordManager
 
next() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Find the next key/value
next() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Find the next key/value
next() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Find the next key
next() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Find the next key/value
next() - Method in interface org.apache.directory.mavibot.btree.ValueCursor
Find the next key/value
nextKey() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Get the next non-duplicate key.
nextKey() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Get the next key.
nextKey() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Get the next non-duplicate key.
NO_PAGE - Static variable in class org.apache.directory.mavibot.btree.RecordManager
A constant for an offset on a non existing page
NORMAL_BTREE - Static variable in class org.apache.directory.mavibot.btree.RecordManager
A flag used by internal btrees

O

org.apache.directory.mavibot.btree - package org.apache.directory.mavibot.btree
 
org.apache.directory.mavibot.btree.comparator - package org.apache.directory.mavibot.btree.comparator
 
org.apache.directory.mavibot.btree.exception - package org.apache.directory.mavibot.btree.exception
 
org.apache.directory.mavibot.btree.memory - package org.apache.directory.mavibot.btree.memory
 
org.apache.directory.mavibot.btree.persisted - package org.apache.directory.mavibot.btree.persisted
 
org.apache.directory.mavibot.btree.serializer - package org.apache.directory.mavibot.btree.serializer
 
org.apache.directory.mavibot.btree.util - package org.apache.directory.mavibot.btree.util
 

P

PageSizeAlreadySetException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we try to change the RecordManager Page Size when it's already set.
PageSizeAlreadySetException() - Constructor for exception org.apache.directory.mavibot.btree.exception.PageSizeAlreadySetException
Creates a new instance of PageSizeAlreadySetException.
PageSizeAlreadySetException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.PageSizeAlreadySetException
Creates a new instance of PageSizeAlreadySetException.
PageSizeAlreadySetException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.PageSizeAlreadySetException
Creates a new instance of PageSizeAlreadySetException.
PageSizeAlreadySetException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.PageSizeAlreadySetException
Creates a new instance of PageSizeAlreadySetException.
PersistedBTree<K,V> - Class in org.apache.directory.mavibot.btree
The B+Tree MVCC data structure.
PersistedBTreeBuilder<K,V> - Class in org.apache.directory.mavibot.btree
A B-tree builder that builds a tree from the bottom.
PersistedBTreeBuilder(RecordManager, String, int, ElementSerializer<K>, ElementSerializer<V>) - Constructor for class org.apache.directory.mavibot.btree.PersistedBTreeBuilder
 
PersistedBTreeConfiguration<K,V> - Class in org.apache.directory.mavibot.btree
The B+Tree Configuration.
PersistedBTreeConfiguration() - Constructor for class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
prev() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Find the previous key/value
prev() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
Find the previous key/value
prev() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Find the previous key
prev() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Find the previous key/value
prev() - Method in interface org.apache.directory.mavibot.btree.ValueCursor
Find the previous key/value
prevKey() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
Get the previous non-duplicate key.
prevKey() - Method in class org.apache.directory.mavibot.btree.KeyCursor
Get the previous key.
prevKey() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Get the previous non-duplicate key.
printBTreeNames() - Method in class org.apache.directory.mavibot.btree.MavibotInspector
Print the B-tree's name
printFileSize() - Method in class org.apache.directory.mavibot.btree.MavibotInspector
Pretty print the file size
printNumberOfBTrees() - Method in class org.apache.directory.mavibot.btree.MavibotInspector
Print the number of B-trees

R

read(int) - Method in class org.apache.directory.mavibot.btree.serializer.BufferHandler
Read a buffer containing the given number of bytes
readSortedTuple(DataInputStream) - Method in class org.apache.directory.mavibot.btree.util.IntTupleReaderWriter
 
readSortedTuple(DataInputStream) - Method in interface org.apache.directory.mavibot.btree.util.TupleReaderWriter
 
ReadTransaction<K,V> - Class in org.apache.directory.mavibot.btree
The Transaction is used to protect the BTree against concurrent modification, and insure that a read is always done against one single revision.
ReadTransaction(RecordManager, BTreeHeader<K, V>, ConcurrentLinkedQueue<ReadTransaction<K, V>>) - Constructor for class org.apache.directory.mavibot.btree.ReadTransaction
Creates a new transaction instance
ReadTransaction(BTreeHeader<K, V>, ConcurrentLinkedQueue<ReadTransaction<K, V>>) - Constructor for class org.apache.directory.mavibot.btree.ReadTransaction
Creates a new transaction instance
readUnsortedTuple(DataInputStream) - Method in class org.apache.directory.mavibot.btree.util.IntTupleReaderWriter
 
readUnsortedTuple(DataInputStream) - Method in interface org.apache.directory.mavibot.btree.util.TupleReaderWriter
 
RecordManager - Class in org.apache.directory.mavibot.btree
The RecordManager is used to manage the file in which we will store the B-trees.
RecordManager(String) - Constructor for class org.apache.directory.mavibot.btree.RecordManager
Create a Record manager which will either create the underlying file or load an existing one.
RecordManager(String, int) - Constructor for class org.apache.directory.mavibot.btree.RecordManager
Create a Record manager which will either create the underlying file or load an existing one.
RecordManagerException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we have an exception on a RecordManager operation
RecordManagerException() - Constructor for exception org.apache.directory.mavibot.btree.exception.RecordManagerException
Creates a new instance of RecordManagerException.
RecordManagerException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.RecordManagerException
Creates a new instance of RecordManagerException.
RecordManagerException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.RecordManagerException
Creates a new instance of RecordManagerException.
RecordManagerException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.RecordManagerException
Creates a new instance of RecordManagerException.
rollback() - Method in class org.apache.directory.mavibot.btree.InMemoryTransactionManager
Rollback a transaction
rollback() - Method in class org.apache.directory.mavibot.btree.RecordManager
Rollback a transaction
rollback() - Method in interface org.apache.directory.mavibot.btree.TransactionManager
Rollback a transaction

S

serialize(Boolean) - Method in class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
Produce the byte[] representation of the element
serialize(boolean) - Static method in class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
Serialize a boolean
serialize(byte[], int, boolean) - Static method in class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
Serialize a boolean
serialize(byte[]) - Method in class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
Produce the byte[] representation of the element
serialize(byte[], int, byte[]) - Static method in class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
Serialize a byte[]
serialize(Byte) - Method in class org.apache.directory.mavibot.btree.serializer.ByteSerializer
Produce the byte[] representation of the element
serialize(byte) - Static method in class org.apache.directory.mavibot.btree.serializer.ByteSerializer
Serialize a byte
serialize(byte[], int, byte) - Static method in class org.apache.directory.mavibot.btree.serializer.ByteSerializer
Serialize a byte
serialize(char[]) - Method in class org.apache.directory.mavibot.btree.serializer.CharArraySerializer
Produce the byte[] representation of the element
serialize(Character) - Method in class org.apache.directory.mavibot.btree.serializer.CharSerializer
Produce the byte[] representation of the element
serialize(char) - Static method in class org.apache.directory.mavibot.btree.serializer.CharSerializer
Serialize a char
serialize(byte[], int, char) - Static method in class org.apache.directory.mavibot.btree.serializer.CharSerializer
Serialize a char
serialize(T) - Method in interface org.apache.directory.mavibot.btree.serializer.ElementSerializer
Produce the byte[] representation of the element
serialize(Integer) - Method in class org.apache.directory.mavibot.btree.serializer.IntSerializer
Produce the byte[] representation of the element
serialize(int) - Static method in class org.apache.directory.mavibot.btree.serializer.IntSerializer
Serialize an int
serialize(byte[], int, int) - Static method in class org.apache.directory.mavibot.btree.serializer.IntSerializer
Serialize an int
serialize(long[]) - Method in class org.apache.directory.mavibot.btree.serializer.LongArraySerializer
Produce the byte[] representation of the element
serialize(Long) - Method in class org.apache.directory.mavibot.btree.serializer.LongSerializer
Produce the byte[] representation of the element
serialize(long) - Static method in class org.apache.directory.mavibot.btree.serializer.LongSerializer
Serialize an long
serialize(byte[], int, long) - Static method in class org.apache.directory.mavibot.btree.serializer.LongSerializer
Serialize an long
serialize(T) - Method in interface org.apache.directory.mavibot.btree.serializer.Serializer
Produce the byte[] representation of the type
serialize(Short) - Method in class org.apache.directory.mavibot.btree.serializer.ShortSerializer
Produce the byte[] representation of the element
serialize(short) - Static method in class org.apache.directory.mavibot.btree.serializer.ShortSerializer
Serialize a short
serialize(byte[], int, short) - Static method in class org.apache.directory.mavibot.btree.serializer.ShortSerializer
Serialize a short
serialize(byte[], int, String) - Static method in class org.apache.directory.mavibot.btree.serializer.StringSerializer
Serialize a String.
serialize(String) - Method in class org.apache.directory.mavibot.btree.serializer.StringSerializer
Produce the byte[] representation of the element
Serializer<T> - Interface in org.apache.directory.mavibot.btree.serializer
This interface is used by implementations of serializer, deserializr and comparator.
SerializerCreationException - Exception in org.apache.directory.mavibot.btree.exception
An exception thrown when we can't create a serializer
SerializerCreationException() - Constructor for exception org.apache.directory.mavibot.btree.exception.SerializerCreationException
Creates a new instance of SerializerCreationException.
SerializerCreationException(String) - Constructor for exception org.apache.directory.mavibot.btree.exception.SerializerCreationException
Creates a new instance of SerializerCreationException.
SerializerCreationException(Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.SerializerCreationException
Creates a new instance of SerializerCreationException.
SerializerCreationException(String, Throwable) - Constructor for exception org.apache.directory.mavibot.btree.exception.SerializerCreationException
Creates a new instance of SerializerCreationException.
setAllowDuplicates(boolean) - Method in interface org.apache.directory.mavibot.btree.BTree
 
setAllowDuplicates(boolean) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
enable duplicate key support
setAllowDuplicates(boolean) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
enable duplicate key support
setBtreeHeaderOffset(PersistedBTree<K, V>, long) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Sets the btreeHeader offset for a Persisted BTree
setBtreeInfoOffset(long) - Method in class org.apache.directory.mavibot.btree.PersistedBTree
 
setBtreeType(BTreeTypeEnum) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
setCacheSize(int) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
setCheckPointDelay(long) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setFilePath(String) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setFilePath(String) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
setJournalName(String) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setJournalSize(long) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setKeepRevisions(boolean) - Method in class org.apache.directory.mavibot.btree.RecordManager
 
setKey(K) - Method in class org.apache.directory.mavibot.btree.Tuple
 
setKeySerializer(ElementSerializer<K>) - Method in interface org.apache.directory.mavibot.btree.BTree
 
setKeySerializer(ElementSerializer<K>) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setKeySerializer(ElementSerializer<K>) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
setName(String) - Method in interface org.apache.directory.mavibot.btree.BTree
 
setName(String) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setName(String) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
setPageSize(int) - Method in interface org.apache.directory.mavibot.btree.BTree
Set the maximum number of elements we can store in a page.
setPageSize(int) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setPageSize(int) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
setParentBTree(BTree<?, V>) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
setReadTimeOut(long) - Method in interface org.apache.directory.mavibot.btree.BTree
 
setReadTimeOut(long) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setReadTimeOut(long) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
setSerializers(ElementSerializer<K>, ElementSerializer<V>) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setSerializers(ElementSerializer<K>, ElementSerializer<V>) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
setToString(Set<?>) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Utility method that return a String representation of a set
setType(BTreeTypeEnum) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
Sets the type of the BTree
setValue(V) - Method in class org.apache.directory.mavibot.btree.Tuple
 
setValueSerializer(ElementSerializer<V>) - Method in interface org.apache.directory.mavibot.btree.BTree
 
setValueSerializer(ElementSerializer<V>) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setValueSerializer(ElementSerializer<V>) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
setWriteBufferSize(int) - Method in interface org.apache.directory.mavibot.btree.BTree
 
setWriteBufferSize(int) - Method in class org.apache.directory.mavibot.btree.InMemoryBTreeConfiguration
 
setWriteBufferSize(int) - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 
ShortArrayComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares short arrays
ShortComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares shorts
ShortSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Short serializer.
size() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
size() - Method in interface org.apache.directory.mavibot.btree.ValueCursor
 
sort(File) - Method in class org.apache.directory.mavibot.btree.memory.BulkDataSorter
 
sort(File) - Method in class org.apache.directory.mavibot.btree.persisted.BulkDataSorter
 
stack - Variable in class org.apache.directory.mavibot.btree.KeyCursor
The stack of pages from the root down to the leaf
stack - Variable in class org.apache.directory.mavibot.btree.TupleCursor
The stack of pages from the root down to the leaf
start() - Method in class org.apache.directory.mavibot.btree.MavibotInspector
The entry point method
storeSortedTuple(Tuple<Integer, Integer>, DataOutputStream) - Method in class org.apache.directory.mavibot.btree.util.IntTupleReaderWriter
 
storeSortedTuple(Tuple<K, V>, DataOutputStream) - Method in interface org.apache.directory.mavibot.btree.util.TupleReaderWriter
 
StringComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares Strings
Strings - Class in org.apache.directory.mavibot.btree.util
Various string manipulation methods that are more efficient then chaining string operations: all is done in the same buffer without creating a bunch of string objects.
Strings() - Constructor for class org.apache.directory.mavibot.btree.util.Strings
 
StringSerializer - Class in org.apache.directory.mavibot.btree.serializer
The String serializer.
StringSerializer(Comparator<String>) - Constructor for class org.apache.directory.mavibot.btree.serializer.StringSerializer
Create a new instance of StringSerializer with custom comparator

T

toByteArray(String) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Get byte array from hex string
toHexString(byte[]) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Gets a hex string from byte array.
toString() - Method in class org.apache.directory.mavibot.btree.EmptyTupleCursor
 
toString() - Method in class org.apache.directory.mavibot.btree.EmptyValueCursor
 
toString() - Method in class org.apache.directory.mavibot.btree.KeyCursor
 
toString() - Method in class org.apache.directory.mavibot.btree.PersistedBTree
 
toString() - Method in class org.apache.directory.mavibot.btree.ReadTransaction
 
toString() - Method in class org.apache.directory.mavibot.btree.RecordManager
 
toString() - Method in class org.apache.directory.mavibot.btree.Tuple
 
toString() - Method in class org.apache.directory.mavibot.btree.TupleCursor
 
transaction - Variable in class org.apache.directory.mavibot.btree.KeyCursor
The transaction used for this cursor
transaction - Variable in class org.apache.directory.mavibot.btree.TupleCursor
The transaction used for this cursor
TransactionManager - Interface in org.apache.directory.mavibot.btree
An interface used to manage the transactions mechanism in B-trees.
Tuple<K,V> - Class in org.apache.directory.mavibot.btree
The Tuple class is used when we browse a btree, it will contain the results fetched from the btree.
Tuple() - Constructor for class org.apache.directory.mavibot.btree.Tuple
Creates a Tuple with no content
Tuple(K, V) - Constructor for class org.apache.directory.mavibot.btree.Tuple
Creates a Tuple containing a key and its associated value.
tuple - Variable in class org.apache.directory.mavibot.btree.TupleCursor
The Tuple used to return the results
TupleCursor<K,V> - Class in org.apache.directory.mavibot.btree
A Cursor is used to fetch elements in a BTree and is returned by the
TupleCursor() - Constructor for class org.apache.directory.mavibot.btree.TupleCursor
Creates a new instance of Cursor.
TupleCursor(ReadTransaction<K, V>, ParentPos<K, V>[], int) - Constructor for class org.apache.directory.mavibot.btree.TupleCursor
Creates a new instance of Cursor, starting on a page at a given position.
TupleReaderWriter<K,V> - Interface in org.apache.directory.mavibot.btree.util
TODO TupleReaderWriter.

U

updateNewBTreeHeaders(BTreeHeader) - Method in class org.apache.directory.mavibot.btree.InMemoryTransactionManager
Updates the map of new BTreeHeaders
updateNewBTreeHeaders(BTreeHeader) - Method in class org.apache.directory.mavibot.btree.RecordManager
Updates the map of new BTreeHeaders
updateNewBTreeHeaders(BTreeHeader<?, ?>) - Method in interface org.apache.directory.mavibot.btree.TransactionManager
Updates the map of new BTreeHeaders
updateRecordManagerHeader() - Method in class org.apache.directory.mavibot.btree.RecordManager
Update the RecordManager header, injecting the following data :
updateRecordManagerHeader(long, long) - Method in class org.apache.directory.mavibot.btree.RecordManager
Update the RecordManager header, injecting the following data :
utf8ToString(byte[]) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Return an UTF-8 encoded String
utf8ToString(ByteBuffer) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Return an UTF-8 encoded String
utf8ToString(byte[], int) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Return an UTF-8 encoded String
utf8ToString(byte[], int, int) - Static method in class org.apache.directory.mavibot.btree.util.Strings
Return an UTF-8 encoded String

V

ValueCursor<V> - Interface in org.apache.directory.mavibot.btree
A Cursor is used to fetch elements in a BTree and is returned by the
valueOf(String) - Static method in enum org.apache.directory.mavibot.btree.BTreeTypeEnum
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.directory.mavibot.btree.BTreeTypeEnum
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I K L M N O P R S T U V 

Copyright © 2012–2014 Apache Mavibot Project Parent. All rights reserved.