- 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
-
- 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.
- 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
- 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.
- 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.
- 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
- 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
-
- 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
- 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