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
addBTree(String, ElementSerializer<K>, ElementSerializer<V>, boolean) - Method in class org.apache.directory.mavibot.btree.RecordManager
Creates a BTree 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.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 BTree 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.TupleCursor
Change the position in the current cursor before the first key
beginTransaction() - Method in interface org.apache.directory.mavibot.btree.BTree
Starts a transaction
beginTransaction() - Method in class org.apache.directory.mavibot.btree.PersistedBTree
Starts a transaction
BooleanArrayComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares boolean arrays.
BooleanArrayComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.BooleanArrayComparator
 
BooleanComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares booleans
BooleanComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.BooleanComparator
 
BooleanSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Boolean serializer.
BooleanSerializer() - Constructor for class org.apache.directory.mavibot.btree.serializer.BooleanSerializer
Create a new instance of BooleanSerializer
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
BTree<K,V> - Interface in org.apache.directory.mavibot.btree
A BTree 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 BTree from a serialized version of a BTree.
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 BTree 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.
ByteArrayComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.ByteArrayComparator
 
ByteArraySerializer - Class in org.apache.directory.mavibot.btree.serializer
A serializer for a byte[].
ByteArraySerializer() - Constructor for class org.apache.directory.mavibot.btree.serializer.ByteArraySerializer
Create a new instance of ByteArraySerializer
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
ByteComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.ByteComparator
 
ByteSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Byte serializer.
ByteSerializer() - Constructor for class org.apache.directory.mavibot.btree.serializer.ByteSerializer
Create a new instance of ByteSerializer

C

cache - Variable in class org.apache.directory.mavibot.btree.PersistedBTree
The cache associated with this BTree
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
CharArrayComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.CharArrayComparator
 
CharArraySerializer - Class in org.apache.directory.mavibot.btree.serializer
A serializer for a char[].
CharArraySerializer() - Constructor for class org.apache.directory.mavibot.btree.serializer.CharArraySerializer
Create a new instance of CharArraySerializer
CharComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares chars
CharComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.CharComparator
 
CharSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Character serializer.
CharSerializer() - Constructor for class org.apache.directory.mavibot.btree.serializer.CharSerializer
Create a new instance of CharSerializer
close() - Method in interface org.apache.directory.mavibot.btree.BTree
Close the BTree, 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.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 interface org.apache.directory.mavibot.btree.BTree
Commits a transaction
commit() - Method in class org.apache.directory.mavibot.btree.PersistedBTree
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 BTree contains the given key with the given value.
contains(long, K, V) - Method in interface org.apache.directory.mavibot.btree.BTree
Checks if the BTree 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 BTree, with no initialization.
createInMemoryBTree(InMemoryBTreeConfiguration<K, V>) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory BTree using the BTreeConfiguration to initialize the BTree
createInMemoryBTree(String, ElementSerializer<K>, ElementSerializer<V>) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory BTree using the parameters to initialize the BTree
createInMemoryBTree(String, ElementSerializer<K>, ElementSerializer<V>, boolean) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory BTree using the parameters to initialize the BTree
createInMemoryBTree(String, ElementSerializer<K>, ElementSerializer<V>, int) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory BTree using the parameters to initialize the BTree
createInMemoryBTree(String, String, ElementSerializer<K>, ElementSerializer<V>) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory BTree using the parameters to initialize the BTree
createInMemoryBTree(String, String, ElementSerializer<K>, ElementSerializer<V>, int) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory BTree using the parameters to initialize the BTree
createInMemoryBTree(String, String, ElementSerializer<K>, ElementSerializer<V>, int, boolean) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new in-memory BTree using the parameters to initialize the BTree
createPersistedBTree() - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted BTree, with no initialization.
createPersistedBTree(PersistedBTreeConfiguration<K, V>) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted BTree using the BTreeConfiguration to initialize the BTree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted BTree using the parameters to initialize the BTree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>, boolean) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted BTree using the parameters to initialize the BTree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>, boolean, int) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted BTree using the parameters to initialize the BTree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>, int) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted BTree using the parameters to initialize the BTree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>, int, boolean) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted BTree using the parameters to initialize the BTree
createPersistedBTree(String, ElementSerializer<K>, ElementSerializer<V>, int, boolean, int) - Static method in class org.apache.directory.mavibot.btree.BTreeFactory
Creates a new persisted BTree using the parameters to initialize the BTree
createTransaction - Variable in class org.apache.directory.mavibot.btree.PersistedBTree
A lock to protect the creation of the transaction
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_PAGE_SIZE - Static variable in interface org.apache.directory.mavibot.btree.BTree
Default page size (number of entries per node)
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.
delete(K, V, long) - Method in class org.apache.directory.mavibot.btree.PersistedBTree
Deletes the given pair if both key and value match.
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(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
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

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 BTree 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.
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.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 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.
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.ReadTransaction
 
getRevision() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Get the current revision
getRoot() - Method in class org.apache.directory.mavibot.btree.ReadTransaction
 
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.
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.TupleCursor
Tells if the cursor can return a next element
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.TupleCursor
Tells if the cursor can return a previous element
hasPrevKey() - Method in class org.apache.directory.mavibot.btree.TupleCursor
Tells if the cursor can return a previous key

I

init() - Method in interface org.apache.directory.mavibot.btree.BTree
Initialize the BTree.
init() - 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
 
insert(K, V) - Method in interface org.apache.directory.mavibot.btree.BTree
Insert an entry in the BTree.
INSTANCE - Static variable in class org.apache.directory.mavibot.btree.serializer.StringSerializer
 
IntArrayComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares int arrays
IntArrayComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.IntArrayComparator
 
IntComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares integers
IntComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.IntComparator
 
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.
IntSerializer() - Constructor for class org.apache.directory.mavibot.btree.serializer.IntSerializer
Create a new instance of IntSerializer
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.
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
 
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
 
isSubBtree() - Method in class org.apache.directory.mavibot.btree.PersistedBTreeConfiguration
 

K

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
LongArrayComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares long arrays
LongArrayComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.LongArrayComparator
 
LongArraySerializer - Class in org.apache.directory.mavibot.btree.serializer
A serializer for a Long[].
LongArraySerializer() - Constructor for class org.apache.directory.mavibot.btree.serializer.LongArraySerializer
Create a new instance of LongSerializer
LongComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares Longs
LongComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.LongComparator
 
LongSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Long serializer.
LongSerializer() - Constructor for class org.apache.directory.mavibot.btree.serializer.LongSerializer
Create a new instance of LongSerializer

M

manage(BTree<K, V>) - Method in class org.apache.directory.mavibot.btree.RecordManager
Manage a BTree.
manage(BTree<K, V>, boolean) - Method in class org.apache.directory.mavibot.btree.RecordManager
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
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.
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.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.TupleCursor
Get the next non-duplicate key.
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 BTree 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.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.TupleCursor
Get the previous non-duplicate key.

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(Page<K, V>, long, long) - 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 BTrees.
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 interface org.apache.directory.mavibot.btree.BTree
Rollback a transaction
rollback() - Method in class org.apache.directory.mavibot.btree.PersistedBTree
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
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
 
setPageSize(int) - Method in class org.apache.directory.mavibot.btree.RecordManager
 
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
 
setSubBtree(boolean) - 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
ShortArrayComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.ShortArrayComparator
 
ShortComparator - Class in org.apache.directory.mavibot.btree.comparator
Compares shorts
ShortComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.ShortComparator
 
ShortSerializer - Class in org.apache.directory.mavibot.btree.serializer
The Short serializer.
ShortSerializer() - Constructor for class org.apache.directory.mavibot.btree.serializer.ShortSerializer
Create a new instance of ShortSerializer
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.TupleCursor
The stack of pages from the root down to the leaf
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
StringComparator() - Constructor for class org.apache.directory.mavibot.btree.comparator.StringComparator
 
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() - Constructor for class org.apache.directory.mavibot.btree.serializer.StringSerializer
Create a new instance of StringSerializer
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.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.TupleCursor
The transaction used for this cursor
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(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

updateRecordManagerHeader() - Method in class org.apache.directory.mavibot.btree.RecordManager
Update the 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.