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

A

AbstractBPlusTreeNode<K,V> - Class in org.helidb.util.bplus
Abstract base class that can be used as a starting point for implementing the BPlusTreeNode interface.
AbstractBPlusTreeNode(long, List<KeyAndValue<K, V>>, boolean, boolean) - Constructor for class org.helidb.util.bplus.AbstractBPlusTreeNode
Constructor.
AbstractDatabase<K,V,P> - Class in org.helidb.impl
Abstract implementation of the Database interface that can be used as a starting point for database implementation.
AbstractDatabase(LogAdapterHolder) - Constructor for class org.helidb.impl.AbstractDatabase
 
AbstractDatabaseBackend<K,V,P> - Class in org.helidb.backend
This abstract class can be used as a starting point for a DatabaseBackend implementation.
AbstractDatabaseBackend() - Constructor for class org.helidb.backend.AbstractDatabaseBackend
 
AbstractDatabaseBackendProxy<K,V,P> - Class in org.helidb.backend
This is an abstract base class that can be used as a starting point for implementing proxy objects for DatabaseBackend:s.
AbstractDatabaseBackendProxy(DatabaseBackend<K, V, P>, boolean) - Constructor for class org.helidb.backend.AbstractDatabaseBackendProxy
 
AbstractFileManager - Class in org.helidb.impl.txn.sc
Abstract base class for ShadowCopyTxnDatabaseFileManager implementations.
AbstractFileManager() - Constructor for class org.helidb.impl.txn.sc.AbstractFileManager
 
AbstractLockAdapter - Class in org.helidb.util.concurrent
This class can be used as the base of an implementation of a Lock adapter.
AbstractLockAdapter() - Constructor for class org.helidb.util.concurrent.AbstractLockAdapter
 
AbstractMessageDigestStringHasher<H extends Comparable<H>> - Class in org.helidb.lang.hasher
This is an abstract base class for String Hasher:s that use a MessageDigest to produce the hash.
AbstractMessageDigestStringHasher(String, int, int) - Constructor for class org.helidb.lang.hasher.AbstractMessageDigestStringHasher
Create an instance of the hasher.
AbstractMessageDigestStringHasher(String, int, int, String, Charset) - Constructor for class org.helidb.lang.hasher.AbstractMessageDigestStringHasher
Create an instance of the hasher.
AbstractTransactionalDatabase<K,V,P> - Class in org.helidb.impl.txn
This abstract class can be extended by subclasses that implement a transactional database.
AbstractTransactionalDatabase(LogAdapterHolder) - Constructor for class org.helidb.impl.txn.AbstractTransactionalDatabase
 
addRecordMoveListener(RecordMoveListener<? super K, ? super V, ? super P>) - Method in class org.helidb.backend.AbstractDatabaseBackend
 
addRecordMoveListener(RecordMoveListener<? super K, ? super V, ? super P>) - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Register the RecordMoveListener on the proxied backend.
addRecordMoveListener(RecordMoveListener<? super K, ? super V, ? super P>) - Method in interface org.helidb.backend.DatabaseBackend
Add a listener that will receive notifications whenever a database record is moved to a new position.
assertNoMaskedBitsSet(byte) - Method in class org.helidb.lang.hasher.AbstractMessageDigestStringHasher
 
assertNotClosed() - Method in class org.helidb.backend.AbstractDatabaseBackend
Subclasses implement this to throw an IllegalStateException if the database backend is closed.
assertNotClosed() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
 
assertNotClosed() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
assertNotClosed() - Method in class org.helidb.backend.heap.HeapBackend
 
assertNotClosed() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
assertNotClosed() - Method in class org.helidb.backend.impl.map.MapBackend
 
assertNotClosed() - Method in class org.helidb.impl.AbstractDatabase
Throw an exception if this database instance has been closed.
assertNotClosed() - Method in class org.helidb.util.bplus.BPlusTree
 
assertNotFinished() - Method in class org.helidb.txn.Transaction
Throw an IllegalStateException if the transaction has been finished.
assertNotReadOnly() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
 

B

backwardsIterator() - Method in interface org.helidb.Cursor
Get an Iterator that iterates backwards through the database records starting with the currently referenced record.
bookPositionForLeafNode() - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
bookPositionForLeafNode() - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
bookPositionForLeafNode() - Method in interface org.helidb.util.bplus.NodeRepository
Book a position for a future leaf node.
bookPositionForNonLeafNode() - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
bookPositionForNonLeafNode() - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
bookPositionForNonLeafNode() - Method in interface org.helidb.util.bplus.NodeRepository
Book a position for a future non-leaf node.
BooleanSerializer - Class in org.helidb.lang.serializer
This is a Serializer for Boolean values.
BooleanSerializer() - Constructor for class org.helidb.lang.serializer.BooleanSerializer
 
BPlusTree<K,V> - Class in org.helidb.util.bplus
This is a B+ Tree that stores data records (keys and values).
BPlusTree(NodeRepository<K>, Comparator<? super K>, LogAdapterHolder) - Constructor for class org.helidb.util.bplus.BPlusTree
Create a new B+ Tree.
BPlusTree(NodeRepository<K>, LogAdapterHolder) - Constructor for class org.helidb.util.bplus.BPlusTree
Create a new B+ Tree that has Comparable keys.
BPlusTree.AbstractBPlusTreeRecordIterator<T> - Class in org.helidb.util.bplus
This is the abstract base class for iterators that iterate over the tree's records.
BPlusTree.AbstractBPlusTreeRecordIterator() - Constructor for class org.helidb.util.bplus.BPlusTree.AbstractBPlusTreeRecordIterator
 
BPlusTree.BPlusTreeKeyIterator - Class in org.helidb.util.bplus
An iterator over the tree's keys.
BPlusTree.BPlusTreeKeyIterator() - Constructor for class org.helidb.util.bplus.BPlusTree.BPlusTreeKeyIterator
 
BPlusTree.BPlusTreeNodeIterator - Class in org.helidb.util.bplus
This is an Iterator over the B+ Tree's leaf nodes.
BPlusTree.BPlusTreeNodeIterator() - Constructor for class org.helidb.util.bplus.BPlusTree.BPlusTreeNodeIterator
Create a new iterator.
BPlusTree.BPlusTreeRecordIterator - Class in org.helidb.util.bplus
An iterator over the tree's records.
BPlusTree.BPlusTreeRecordIterator() - Constructor for class org.helidb.util.bplus.BPlusTree.BPlusTreeRecordIterator
 
BPlusTree.BPlusTreeValueIterator - Class in org.helidb.util.bplus
An iterator over the tree's values.
BPlusTree.BPlusTreeValueIterator() - Constructor for class org.helidb.util.bplus.BPlusTree.BPlusTreeValueIterator
 
BPlusTree.NodeSearchResult<K,V> - Class in org.helidb.util.bplus
This simple value-only class is used to represent the search result when finding a node.
BPlusTree.NodeSearchResult() - Constructor for class org.helidb.util.bplus.BPlusTree.NodeSearchResult
 
BPlusTreeIndexBackend<K,V,H extends Comparable<H>,P> - Class in org.helidb.backend.index.bplus
This DatabaseBackend provides a B+ Tree index for the keys of another, proxied DatabaseBackend.
BPlusTreeIndexBackend(DatabaseBackend<K, V, P>, boolean, BPlusTree<H, P>, Hasher<K, H>, LogAdapterHolder) - Constructor for class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
Constructor.
BPlusTreeIndexBackendBuilder<K,H extends Comparable<H>> - Class in org.helidb.backend.index.bplus
This is a builder for BPlusTreeIndexBackend objects.
BPlusTreeIndexBackendBuilder() - Constructor for class org.helidb.backend.index.bplus.BPlusTreeIndexBackendBuilder
 
BPlusTreeIndexBackendFactory<K,V,H extends Comparable<H>,P> - Class in org.helidb.backend.index.bplus
This is a DatabaseBackendFactory for building BPlusTreeIndexBackend objects.
BPlusTreeIndexBackendFactory(DatabaseBackendFactory<K, V, P>, NodeRepositoryBuilder<H>, Hasher<K, H>, LogAdapterHolder) - Constructor for class org.helidb.backend.index.bplus.BPlusTreeIndexBackendFactory
Constructor.
BPlusTreeIndexBackendFileBackedNodeRepositoryBuilder<H extends Comparable<H>> - Class in org.helidb.backend.index.bplus
This class extends the FileBackedNodeRepositoryBuilder with a default value for the value serializer.
BPlusTreeIndexBackendFileBackedNodeRepositoryBuilder() - Constructor for class org.helidb.backend.index.bplus.BPlusTreeIndexBackendFileBackedNodeRepositoryBuilder
 
BPlusTreeIndexFileManager - Class in org.helidb.impl.txn.sc
This is a ShadowCopyTxnDatabaseFileManager that can be used specifically for the BPlusTreeIndexBackend.
BPlusTreeIndexFileManager(ShadowCopyTxnDatabaseFileManager, ReadWritableFile, DirectoryView) - Constructor for class org.helidb.impl.txn.sc.BPlusTreeIndexFileManager
 
BPlusTreeLeafNode<K,V> - Class in org.helidb.util.bplus
A leaf node.
BPlusTreeLeafNode(long, List<KeyAndValue<K, V>>, boolean, boolean) - Constructor for class org.helidb.util.bplus.BPlusTreeLeafNode
Create a leaf node without pointers to adjacent leaf nodes.
BPlusTreeLeafNode(long, List<KeyAndValue<K, V>>, boolean, boolean, Long, Long) - Constructor for class org.helidb.util.bplus.BPlusTreeLeafNode
Create a leaf node with pointers to adjacent leaf nodes.
BPlusTreeNode<K,V> - Interface in org.helidb.util.bplus
This is the interface of a node in a B+ Tree.
BPlusTreeNonLeafNode<K> - Class in org.helidb.util.bplus
A non-leaf node in a B+ Tree.
BPlusTreeNonLeafNode(long, K, long, List<KeyAndValue<K, Long>>, boolean, boolean) - Constructor for class org.helidb.util.bplus.BPlusTreeNonLeafNode
Create a non-leaf node.
ByteSerializer - Class in org.helidb.lang.serializer
A Serializer for Byte values.
ByteSerializer() - Constructor for class org.helidb.lang.serializer.ByteSerializer
 

C

CharacterNullSerializer - Class in org.helidb.lang.serializer
A Serializer for Character values that may be null.
CharacterNullSerializer(byte[]) - Constructor for class org.helidb.lang.serializer.CharacterNullSerializer
Instantiate this class.
CharacterNullSerializer(char) - Constructor for class org.helidb.lang.serializer.CharacterNullSerializer
Instantiate this class.
CharacterSerializer - Class in org.helidb.lang.serializer
A Serializer for Character values.
CharacterSerializer() - Constructor for class org.helidb.lang.serializer.CharacterSerializer
 
CharacterToCharacterHasher - Class in org.helidb.lang.hasher
This is a value-preserving Character hasher.
CharacterToCharacterHasher() - Constructor for class org.helidb.lang.hasher.CharacterToCharacterHasher
 
checkRevision() - Method in class org.helidb.util.bplus.BPlusTree.AbstractBPlusTreeRecordIterator
Subclasses implement this to throw a ConcurrentModificationException if the contents of the tree has changed in a way that invalidates the iterator.
checkRevision() - Method in class org.helidb.util.bplus.BPlusTree.BPlusTreeKeyIterator
 
checkRevision() - Method in class org.helidb.util.bplus.BPlusTree.BPlusTreeRecordIterator
 
checkRevision() - Method in class org.helidb.util.bplus.BPlusTree.BPlusTreeValueIterator
 
cleanupBeforeReleasingReadLock() - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
This method is called to clean up the database state before releasing the read lock for a read only transaction.
cleanupBeforeReleasingReadLock() - Method in class org.helidb.impl.txn.sc.ShadowCopyTransactionalDatabase
 
clear() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
clear() - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
clear() - Method in interface org.helidb.backend.DatabaseBackend
Wipe out the entire database.
clear() - Method in class org.helidb.backend.heap.HeapBackend
 
clear() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
clear() - Method in class org.helidb.backend.impl.map.MapBackend
 
clear() - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
clear() - Method in class org.helidb.impl.AbstractDatabase
 
clear() - Method in class org.helidb.util.bplus.BPlusTree
Delete all records in the tree.
clear() - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
clear() - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
clear() - Method in interface org.helidb.util.bplus.NodeRepository
Remove all contents from the node repository.
close() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Subclasses overriding this method must call super.close().
close() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
close() - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
close() - Method in interface org.helidb.backend.DatabaseBackend
Close this database backend and release all resources associated with it (close files and release locks, for instance).
close() - Method in class org.helidb.backend.heap.HeapBackend
 
close() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
close() - Method in class org.helidb.backend.impl.map.MapBackend
 
close() - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
close() - Method in interface org.helidb.Cursor
Close and invalidate the cursor.
close() - Method in interface org.helidb.Database
Close this database and release all resources associated with it.
close() - Method in class org.helidb.impl.AbstractDatabase
If overriding this method, make sure super.close() is called.
close() - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
This method overrides the inherited close method to acquire a write lock on the database before calling super.close().
close() - Method in class org.helidb.io.FixedSizeByteArrayOutputStream
 
close() - Method in class org.helidb.util.bplus.BPlusTree
Close the tree.
close() - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
close() - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
close() - Method in interface org.helidb.util.bplus.NodeRepository
Close the node repository and release all its allocated resources.
closeBackend() - Method in class org.helidb.impl.AbstractDatabase
Subclasses implement this to call close on the backend.
closeBackend() - Method in class org.helidb.impl.simple.SimpleDatabase
 
closeBackend() - Method in class org.helidb.impl.txn.log.LoggingTransactionalDatabase
 
closeBackend() - Method in class org.helidb.impl.txn.sc.ShadowCopyTransactionalDatabase
 
CLOSEST_ABOVE - Static variable in class org.helidb.search.SearchMode
Search for an exact match or the closest key value greater than the search key.
CLOSEST_BELOW - Static variable in class org.helidb.search.SearchMode
Search for an exact match or the closest key value less than the search key.
CLOSEST_MATCH - Static variable in class org.helidb.search.SearchMode
Search for the closest match.
closeWithWriteLockOnDb() - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
This method is called by AbstractTransactionalDatabase.close() when it has acquired an exclusive write lock on the database.
commit() - Method in class org.helidb.impl.txn.SharedReadLockReadOnlyTxnCollaborator
 
commit() - Method in class org.helidb.txn.Transaction
Commit the transaction.
commit() - Method in interface org.helidb.txn.TransactionCollaborator
Commit this collaborator's work.
compact() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Call compact on the proxied backend.
compact() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
compact() - Method in interface org.helidb.backend.DatabaseBackend
Compact the backing database file if it has become fragmented.
compact() - Method in class org.helidb.backend.heap.HeapBackend
This compacts the database by removing holes left by deleted elements.
compact() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
compact() - Method in class org.helidb.backend.impl.map.MapBackend
 
compact() - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
compact() - Method in interface org.helidb.Database
Defragment the database backend.
compact() - Method in class org.helidb.impl.AbstractDatabase
 
compact() - Method in class org.helidb.util.bplus.BPlusTree
Defragment the tree to win back some disk space.
compact() - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
compact() - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
compact() - Method in interface org.helidb.util.bplus.NodeRepository
Defragment the node repository to recover wasted disk space.
ComparableComparator<T extends Comparable<T>> - Class in org.helidb.util
This Comparator compares Comparable objects.
ComparableComparator() - Constructor for class org.helidb.util.ComparableComparator
 
compare(T, T) - Method in class org.helidb.util.ComparableComparator
This method delegates to the Comparable.compareTo(Object) method of o1.
compareKeys(K, K) - Method in class org.helidb.util.bplus.BPlusTree
Compare the two keys.
compareTo(KeyAndValue<K, V>) - Method in class org.helidb.util.bplus.KeyAndValue
 
ConfigurableLengthIntegerNullSerializer - Class in org.helidb.lang.serializer
This Serializer serializes Integer values to a big-endian byte array of configurable size.
ConfigurableLengthIntegerNullSerializer(int) - Constructor for class org.helidb.lang.serializer.ConfigurableLengthIntegerNullSerializer
Create a Serializer that uses the default value to represent null.
ConfigurableLengthIntegerNullSerializer(int, int) - Constructor for class org.helidb.lang.serializer.ConfigurableLengthIntegerNullSerializer
Create a Serializer with a custom value to represent null .
ConfigurableLengthIntegerSerializer - Class in org.helidb.lang.serializer
This Serializer serializes Integer values to a big-endian byte array of configurable size.
ConfigurableLengthIntegerSerializer(int) - Constructor for class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
Create a new Serializer.
ConfigurableLengthLongNullSerializer - Class in org.helidb.lang.serializer
This Serializer serializes Long values to a big-endian byte array of configurable size.
ConfigurableLengthLongNullSerializer(int) - Constructor for class org.helidb.lang.serializer.ConfigurableLengthLongNullSerializer
Create a Serializer that uses the default value to represent null.
ConfigurableLengthLongNullSerializer(int, long) - Constructor for class org.helidb.lang.serializer.ConfigurableLengthLongNullSerializer
Create a Serializer.
ConfigurableLengthLongSerializer - Class in org.helidb.lang.serializer
This Serializer serializes Long values to a big-endian byte array of configurable size.
ConfigurableLengthLongSerializer(int) - Constructor for class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
Create a new Serializer.
ConstantRecordSizeBPlusTreeBackend<K,V> - Class in org.helidb.backend.bpluscrs
This DatabaseBackend uses a B+ Tree for storing its records.
ConstantRecordSizeBPlusTreeBackend(NodeRepository<K>, boolean, LogAdapterHolder) - Constructor for class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
Constructor.
ConstantRecordSizeBPlusTreeBackend(NodeRepository<K>, boolean, Comparator<? super K>, LogAdapterHolder) - Constructor for class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
Constructor.
ConstantRecordSizeBPlusTreeBackendFactory<K,V> - Class in org.helidb.backend.bpluscrs
This is a DatabaseBackendFactory for creating ConstantRecordSizeBPlusTreeBackend backends.
ConstantRecordSizeBPlusTreeBackendFactory(NodeRepositoryBuilder<K>, LogAdapterHolder) - Constructor for class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackendFactory
Constructor.
ConstantRecordSizeHeapBackend<K,V> - Class in org.helidb.backend.heapcrs
This backend implementation takes database records and puts them on a heap.
ConstantRecordSizeHeapBackend(RandomlyAccessibleFile, boolean, Serializer<K>, Serializer<V>, long, int, LogAdapterHolder) - Constructor for class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
Create a new backend for constant key and value sizes.
ConstantRecordSizeHeapBackendBuilder<K,V> - Class in org.helidb.backend.heapcrs
This is a builder for ConstantRecordSizeHeapBackend objects.
ConstantRecordSizeHeapBackendBuilder() - Constructor for class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackendBuilder
 
ConstantRecordSizeHeapBackendFactory<K,V> - Class in org.helidb.backend.heapcrs
This is a DatabaseBackendFactory for creating ConstantRecordSizeHeapBackend objects.
ConstantRecordSizeHeapBackendFactory(Serializer<K>, Serializer<V>, long, int, LogAdapterHolder) - Constructor for class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackendFactory
Create a new backend factory for ConstantRecordSizeHeapBackend objects.
ConstantSizeStringNullSerializer - Class in org.helidb.lang.serializer
This is a variant of the ConstantSizeStringSerializer that can handle null values.
ConstantSizeStringNullSerializer(Charset, int, boolean) - Constructor for class org.helidb.lang.serializer.ConstantSizeStringNullSerializer
Create a serializer that will use the default null value "[null]" .
ConstantSizeStringNullSerializer(Charset, int, boolean, String) - Constructor for class org.helidb.lang.serializer.ConstantSizeStringNullSerializer
Create a serializer that will use the supplied text for encoding null values.
ConstantSizeStringSerializer - Class in org.helidb.lang.serializer
This Serializer serializes strings into constant size byte arrays.
ConstantSizeStringSerializer(Charset, int, boolean) - Constructor for class org.helidb.lang.serializer.ConstantSizeStringSerializer
Create a new serializer.
ConstantSizeValueHasher<T extends Comparable<T>> - Class in org.helidb.lang.hasher
This is a generic value-preserving Hasher.
ConstantSizeValueHasher(Serializer<T>) - Constructor for class org.helidb.lang.hasher.ConstantSizeValueHasher
Constructor.
containsKey(Object) - Method in class org.helidb.impl.AbstractDatabase
 
containsKey(K) - Method in class org.helidb.util.bplus.BPlusTree
Does the tree contain the supplied key?
containsValue(Object) - Method in class org.helidb.impl.AbstractDatabase
 
copyDatabaseFiles() - Method in interface org.helidb.impl.txn.sc.ShadowCopyTxnDatabaseFileManager
Create a copy of the database file(s).
copyDatabaseFiles() - Method in class org.helidb.impl.txn.sc.SingleFileAndProxiedFileManager
 
copyDatabaseFiles() - Method in class org.helidb.impl.txn.sc.SingleFileManager
 
copyToTempFile(ReadWritableFile, DirectoryView) - Method in class org.helidb.impl.txn.sc.AbstractFileManager
Copy the contents of the supplied file to a new file in the temporary directory.
create(DatabaseFiles, boolean) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackendFactory
 
create(DatabaseFiles, boolean) - Method in class org.helidb.backend.cache.lru.LruCacheBackendFactory
 
create(DatabaseFiles, boolean) - Method in interface org.helidb.backend.DatabaseBackendFactory
Create a new backend for the supplied file.
create(ReadWritableFile) - Method in class org.helidb.backend.heap.HeapBackendBuilder
Create a HeapBackend object.
create(DatabaseFiles, boolean) - Method in class org.helidb.backend.heap.HeapBackendFactory
 
create(RandomlyAccessibleFile) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackendBuilder
Create a new backend object.
create(DatabaseFiles, boolean) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackendFactory
 
create(DatabaseBackend<K, V, P>, BPlusTree<H, P>) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackendBuilder
Create a BPlusTreeIndexBackend
create(DatabaseFiles, boolean) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackendFactory
 
create(DatabaseBackend<K, V, P>, ReadWritableFile) - Method in class org.helidb.impl.txn.log.LoggingTransactionalDatabaseBuilder
Create the database.
create(ReadWritableFile, boolean) - Method in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
 
create(ReadWritableFile, boolean) - Method in class org.helidb.util.bplus.LruCacheNodeRepositoryBuilder
 
create(ReadWritableFile, boolean) - Method in interface org.helidb.util.bplus.NodeRepositoryBuilder
Create the node repository.
createDigest(String) - Method in class org.helidb.lang.hasher.AbstractMessageDigestStringHasher
Create a digest for the supplied string.
createReadOnlyCollaborator(Lock) - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
Create a TransactionCollaborator for a read only transaction.
createReadOnlyCollaborator(Lock) - Method in class org.helidb.impl.txn.log.LoggingTransactionalDatabase
 
createReadOnlyCollaborator(Lock) - Method in class org.helidb.impl.txn.sc.ShadowCopyTransactionalDatabase
 
createReadWriteCollaborator(Lock) - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
Create a TransactionCollaborator for a read/write transaction.
createReadWriteCollaborator(Lock) - Method in class org.helidb.impl.txn.log.LoggingTransactionalDatabase
 
createReadWriteCollaborator(Lock) - Method in class org.helidb.impl.txn.sc.ShadowCopyTransactionalDatabase
 
Cursor<K,V> - Interface in org.helidb
A cursor is used for navigating through the records of a database.

D

DATA_SIZE - Static variable in class org.helidb.lang.serializer.BooleanSerializer
One byte.
DATA_SIZE - Static variable in class org.helidb.lang.serializer.ByteSerializer
One byte.
DATA_SIZE - Static variable in class org.helidb.lang.serializer.CharacterSerializer
Two bytes.
DATA_SIZE - Static variable in class org.helidb.lang.serializer.DoubleSerializer
Eight bytes.
DATA_SIZE - Static variable in class org.helidb.lang.serializer.FloatSerializer
Four bytes.
DATA_SIZE - Static variable in class org.helidb.lang.serializer.IntegerSerializer
Four bytes.
DATA_SIZE - Static variable in class org.helidb.lang.serializer.LongSerializer
Eight bytes.
DATA_SIZE - Static variable in class org.helidb.lang.serializer.ShortSerializer
Two bytes.
DATA_SIZE - Static variable in class org.helidb.lang.serializer.UnsignedByteSerializer
One byte.
Database<K,V> - Interface in org.helidb
This is the interface for a database.
DatabaseBackend<K,V,P> - Interface in org.helidb.backend
The DatabaseBackend is responsible for how keys and values are stored and laid out in the underlying storage.
DatabaseBackendFactory<K,V,P> - Interface in org.helidb.backend
This interface defines a factory for database backend objects.
DatabaseException - Exception in org.helidb.lang
Base class for exceptions thrown by the database methods.
DatabaseException(String) - Constructor for exception org.helidb.lang.DatabaseException
 
DatabaseException(Throwable) - Constructor for exception org.helidb.lang.DatabaseException
 
DatabaseException(String, Throwable) - Constructor for exception org.helidb.lang.DatabaseException
 
DatabaseFiles - Interface in org.helidb.backend
This interface defines the set of files (one or several) that is used by a database backend.
DEFAULT_ALGORITHM - Static variable in class org.helidb.lang.hasher.AbstractMessageDigestStringHasher
The default hash algorithm.
DEFAULT_BUFFER_SIZE - Static variable in class org.helidb.backend.heap.HeapBackend
The default buffer size for internal buffers.
DEFAULT_BUFFER_SIZE - Static variable in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
The default size for temporary in-memory data buffers, in bytes.
DEFAULT_BUFFER_SIZE - Static variable in class org.helidb.util.bplus.FileBackedNodeRepository
The default size of in-memory buffers used by FileBackedNodeRepository.writeContentsTo(OutputStream) is 65535 bytes.
DEFAULT_BUFFER_SIZE - Static variable in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
The default size of internal buffers used by FileBackedNodeRepository.writeContentsTo(java.io.OutputStream) is 65536 bytes.
DEFAULT_CACHE_SIZE - Static variable in class org.helidb.backend.cache.lru.LruCacheBackendFactory
The default cache size is 128 records.
DEFAULT_INTERNAL_POINTER_SIZE - Static variable in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
The default size of internal pointers in the node repository is four bytes.
DEFAULT_LEAF_NODE_HAS_POINTERS_TO_ADJACENT_NODES - Static variable in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
By default, leaf nodes have pointers to their adjacent leaf nodes.
DEFAULT_MAX_CACHE_SIZE - Static variable in class org.helidb.util.bplus.LruCacheNodeRepositoryBuilder
The default maximum size of the cache is 16 nodes.
DEFAULT_NEGATIVE_CACHE_SIZE - Static variable in class org.helidb.backend.cache.lru.LruCacheBackendFactory
The default negative cache size is 32 keys.
DEFAULT_NODE_SIZE_STRATEGY - Static variable in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
The default NodeSizeStrategy is a FixedSizeNodeSizeStrategy with a node size of 4096 bytes.
DEFAULT_NULL_VALUE - Static variable in class org.helidb.lang.serializer.ConstantSizeStringNullSerializer
The default special null value.
DEFAULT_NULL_VALUE - Static variable in class org.helidb.lang.serializer.StringNullSerializer
The default special null value.
delete(K) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
delete(K) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
delete(K) - Method in interface org.helidb.backend.DatabaseBackend
Delete the record with the supplied key, if it exists.
delete() - Method in interface org.helidb.backend.DatabaseFiles
Delete the database file(s).
delete(K) - Method in class org.helidb.backend.heap.HeapBackend
 
delete(K) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
delete(K) - Method in class org.helidb.backend.impl.map.MapBackend
 
delete(K) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
delete() - Method in class org.helidb.backend.SingleAndProxiedDatabaseFile
 
delete() - Method in class org.helidb.backend.SingleDatabaseFile
 
delete(K) - Method in interface org.helidb.Database
Delete the record with the supplied key from the database.
delete(K) - Method in class org.helidb.impl.AbstractDatabase
 
delete(K) - Method in class org.helidb.util.bplus.BPlusTree
Delete the record with the supplied key from the tree.
deleteNode(long, boolean) - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
deleteNode(long, boolean) - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
deleteNode(long, boolean) - Method in interface org.helidb.util.bplus.NodeRepository
Delete the node at the supplied position.
DoubleSerializer - Class in org.helidb.lang.serializer
A Serializer for Double values.
DoubleSerializer() - Constructor for class org.helidb.lang.serializer.DoubleSerializer
 

E

encodeCharacter(char) - Static method in class org.helidb.lang.serializer.CharacterSerializer
Encode a character to a two bytes long, big-endian byte array.
encodeInteger(int) - Static method in class org.helidb.lang.serializer.IntegerSerializer
Encode an integer to a four bytes long, big-endian byte array.
encodeLong(long) - Static method in class org.helidb.lang.serializer.LongSerializer
Encode the long value to an eight bytes long, big-endian byte array.
encodeShort(short) - Static method in class org.helidb.lang.serializer.ShortSerializer
Encode a short value to a two bytes long, big-endian byte array.
entrySet() - Method in class org.helidb.impl.AbstractDatabase
 
equals(Object) - Method in class org.helidb.api.support.MapEntry
Implemented according to the contract in Map.Entry.
equals(Object) - Method in class org.helidb.impl.AbstractDatabase
Implemented according as specified by the contract in Map.
equals(Object) - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
Not implemented according to the contract in Map since that would require a transaction.
equals(Object) - Method in class org.helidb.lang.Record
 
equals(Object) - Method in class org.helidb.util.bplus.BPlusTreeLeafNode
 
equals(Object) - Method in class org.helidb.util.bplus.BPlusTreeNonLeafNode
 
equals(Object) - Method in class org.helidb.util.bplus.KeyAndValue
 
EXACT_MATCH - Static variable in class org.helidb.search.SearchMode
Search for an exact match.

F

fasterInsert(K, V) - Method in interface org.helidb.Database
This is a faster version of Database.insert(Object, Object) that does not check if the key already exists in the database.
fasterInsert(K, V) - Method in class org.helidb.impl.AbstractDatabase
 
FileBackedNodeRepository<K,V> - Class in org.helidb.util.bplus
This NodeRepository stores data in a file.
FileBackedNodeRepository(ReadWritableFile, boolean, long, NodeSizeStrategy, boolean, Serializer<K>, Serializer<V>, int, int, Comparator<? super K>, LogAdapterHolder) - Constructor for class org.helidb.util.bplus.FileBackedNodeRepository
Constructor.
FileBackedNodeRepositoryBuilder<K,V> - Class in org.helidb.util.bplus
Builder for FileBackedNodeRepository objects.
FileBackedNodeRepositoryBuilder() - Constructor for class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
 
finalize() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
 
finalize() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
Close the backend before discarding the object.
finalize() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
finalize() - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
finalize() - Method in class org.helidb.impl.txn.SharedReadLockReadOnlyTxnCollaborator
Unlocks the backend read lock if it is still locked before calling super.finalize().
finalize() - Method in class org.helidb.txn.Transaction
If the transaction is still active, it is rolled back before this object is discarded.
finalize() - Method in class org.helidb.util.bplus.FileBackedNodeRepository
Close the file if it is still open before discarding the object.
find(Comparable<K>, SearchMode) - Method in class org.helidb.backend.AbstractDatabaseBackend
This implementation iterates through all keys in the database to find the best match.
find(K, SearchMode, Comparator<? super K>) - Method in class org.helidb.backend.AbstractDatabaseBackend
This implementation iterates through all keys in the database to find the best match.
find(K) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
find(Comparable<K>, SearchMode) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
If the B+ Tree uses the natural ordering of its (Comparable) keys (i.e.
find(K, SearchMode, Comparator<? super K>) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
If the supplied Comparator is equal to the Comparator used by the B+ Tree, the tree's fast find method is used.
find(K) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
find(Comparable<K>, SearchMode) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
The results from this method are not cached.
find(K, SearchMode, Comparator<? super K>) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
The results from this method are not cached.
find(K) - Method in interface org.helidb.backend.DatabaseBackend
Find the position of the record with the supplied key in the database backend.
find(Comparable<K>, SearchMode) - Method in interface org.helidb.backend.DatabaseBackend
Find the position of the record with the supplied key in the database that matches the search mode.
find(K, SearchMode, Comparator<? super K>) - Method in interface org.helidb.backend.DatabaseBackend
Find the position of the record with the supplied key in the database that matches the search mode.
find(K) - Method in class org.helidb.backend.heap.HeapBackend
 
find(K) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
find(K) - Method in class org.helidb.backend.impl.map.MapBackend
 
find(K) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
find(Comparable<K>, SearchMode) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
If the B+ Tree uses a value-preserving Hasher and the natural ordering of its (Comparable) keys (i.e., not a custom key Comparator), use the tree's fast find method.
find(K, SearchMode, Comparator<? super K>) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
If the B+ Tree uses a value-preserving Hasher and a key Comparator that is equal to the supplied Comparator, use the tree's efficient find method.
find(K) - Method in interface org.helidb.Database
Search for the supplied key in the database and return a Cursor at the found record.
find(K, SearchMode) - Method in interface org.helidb.Database
Search for the key in the database using the supplied SearchMode.
find(K, SearchMode, Comparator<? super K>) - Method in interface org.helidb.Database
Search for the key in the database using the supplied SearchMode.
find(K) - Method in class org.helidb.impl.AbstractDatabase
 
find(K, SearchMode) - Method in class org.helidb.impl.AbstractDatabase
 
find(K, SearchMode, Comparator<? super K>) - Method in class org.helidb.impl.AbstractDatabase
 
find(K) - Method in class org.helidb.util.bplus.BPlusTree
Find the value for a key.
findLeftmostLeafNode() - Method in class org.helidb.util.bplus.BPlusTree
Find the leftmost leaf node in the tree.
findNodeFor(K, long, K, LinkedList<BPlusTreeNonLeafNode<K>>) - Method in class org.helidb.util.bplus.BPlusTree
Find the leaf node where a record with the supplied key can be inserted.
findRecord(K, SearchMode) - Method in class org.helidb.util.bplus.BPlusTree
Find the record in the B+ Tree that matches the search key and the search mode most closely.
findRightmostLeafNode() - Method in class org.helidb.util.bplus.BPlusTree
Find the rightmost leaf node in the tree, i.e.
firstRecord() - Method in interface org.helidb.Database
Get a Cursor at the first record in the database.
firstRecord() - Method in class org.helidb.impl.AbstractDatabase
 
FixedSizeBigIntegerNullSerializer - Class in org.helidb.lang.serializer
This Serializer serializes BigInteger values to a big-endian byte array of configurable size using BigInteger's constructor and toByteArray methods.
FixedSizeBigIntegerNullSerializer(int) - Constructor for class org.helidb.lang.serializer.FixedSizeBigIntegerNullSerializer
Create a new Serializer.
FixedSizeBigIntegerNullSerializer(int, BigInteger) - Constructor for class org.helidb.lang.serializer.FixedSizeBigIntegerNullSerializer
Create a new Serializer.
FixedSizeBigIntegerSerializer - Class in org.helidb.lang.serializer
This is a Serializer for BigInteger values to byte arrays of a fixed size.
FixedSizeBigIntegerSerializer(int) - Constructor for class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
Create a new Serializer.
FixedSizeByteArrayOutputStream - Class in org.helidb.io
This is a variant of ByteArrayOutputStream that writes to a preallocated byte array.
FixedSizeByteArrayOutputStream(byte[]) - Constructor for class org.helidb.io.FixedSizeByteArrayOutputStream
 
FixedSizeNodeSizeStrategy - Class in org.helidb.util.bplus
This node size strategy gives a fixed node size.
FixedSizeNodeSizeStrategy(int) - Constructor for class org.helidb.util.bplus.FixedSizeNodeSizeStrategy
Constructor.
FloatSerializer - Class in org.helidb.lang.serializer
A Serializer for Float values.
FloatSerializer() - Constructor for class org.helidb.lang.serializer.FloatSerializer
 
flush() - Method in class org.helidb.io.FixedSizeByteArrayOutputStream
 
forEachKey(ForEachKeyCallback<K, P>) - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Call the proxied backend's forEachKey method.
forEachKey(ForEachKeyCallback<K, KeyAndValue<K, V>>) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
forEachKey(ForEachKeyCallback<K, P>) - Method in interface org.helidb.backend.DatabaseBackend
For each key in the database, call the callback object.
forEachKey(ForEachKeyCallback<K, Long>) - Method in class org.helidb.backend.heap.HeapBackend
 
forEachKey(ForEachKeyCallback<K, Long>) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
forEachKey(ForEachKeyCallback<K, K>) - Method in class org.helidb.backend.impl.map.MapBackend
 
forEachKey(ForEachKeyCallback<K, P>) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
ForEachKeyCallback<K,P> - Interface in org.helidb.backend
This interface defines the callback that is used by the DatabaseBackend.forEachKey(ForEachKeyCallback) method.
fromBytes(byte[]) - Method in class org.helidb.lang.hasher.CharacterToCharacterHasher
 
fromBytes(byte[]) - Method in class org.helidb.lang.hasher.ConstantSizeValueHasher
 
fromBytes(byte[]) - Method in interface org.helidb.lang.hasher.Hasher
Interpret the serialized hash value.
fromBytes(byte[]) - Method in class org.helidb.lang.hasher.IntegerToIntegerHasher
 
fromBytes(byte[]) - Method in class org.helidb.lang.hasher.LongToLongHasher
 
fromBytes(byte[]) - Method in class org.helidb.lang.hasher.ShortToShortHasher
 
fromBytes(byte[]) - Method in class org.helidb.lang.hasher.StringToBigIntegerHasher
 
fromBytes(byte[]) - Method in class org.helidb.lang.hasher.StringToLongHasher
 

G

get() - Method in interface org.helidb.Cursor
Get the record that the cursor is currently referencing.
get(Object) - Method in class org.helidb.impl.AbstractDatabase
 
getBackend() - Method in class org.helidb.impl.txn.SharedReadLockReadOnlyTxnCollaborator
 
getBackend() - Method in interface org.helidb.txn.TransactionCollaborator
Get the database's DatabaseBackend object.
getBackendForReading() - Method in class org.helidb.impl.AbstractDatabase
Subclasses implement this to return a backend object that can be used for reading data.
getBackendForReading() - Method in class org.helidb.impl.simple.SimpleDatabase
 
getBackendForReading() - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
Get a readable database backend.
getBackendForWriting() - Method in class org.helidb.impl.AbstractDatabase
Subclasses implement this to return a backend object that can be used for writing data to.
getBackendForWriting() - Method in class org.helidb.impl.simple.SimpleDatabase
 
getBackendForWriting() - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
Get a writable database backend.
getByteMask(int) - Static method in class org.helidb.lang.hasher.HasherSupport
Create a byte mask that will keep the noOfBits least significant bits in a byte.
getCharacter(byte[]) - Static method in class org.helidb.lang.serializer.CharacterSerializer
Get the char value encoded in the big-endian, byte array.
getCloseObservable() - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
Get an observable that notifies its observers when the database is closed.
getCollaborator(Database<?, ?>) - Method in class org.helidb.txn.Transaction
Get the collaborator for the supplied object.
getCollaborators() - Method in class org.helidb.txn.Transaction
Get all collaborators and their owners for the current transaction.
getContentsVersion() - Method in class org.helidb.backend.AbstractDatabaseBackend
 
getContentsVersion() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Call getContentsVersion on the proxied backend.
getContentsVersion() - Method in interface org.helidb.backend.DatabaseBackend
Get a version number for the contents of the database backend.
getCurrentKeyRevision() - Method in class org.helidb.util.bplus.BPlusTree
Get the current key revision.
getCurrentTransaction() - Static method in class org.helidb.txn.Transaction
Get the current transaction for the calling thread.
getCurrentTransactionOrNull() - Static method in class org.helidb.txn.Transaction
Get the current transaction for the calling thread.
getCurrentValueRevision() - Method in class org.helidb.util.bplus.BPlusTree
Get the current value revision.
getDatabaseFiles() - Method in interface org.helidb.impl.txn.sc.ShadowCopyTxnDatabaseFileManager
Get the database files.
getDatabaseFiles() - Method in class org.helidb.impl.txn.sc.SingleFileAndProxiedFileManager
 
getDatabaseFiles() - Method in class org.helidb.impl.txn.sc.SingleFileManager
 
getFile() - Method in class org.helidb.backend.SingleAndProxiedDatabaseFile
Get the file.
getFile() - Method in class org.helidb.backend.SingleDatabaseFile
Get the file.
getFirstPointer() - Method in class org.helidb.util.bplus.BPlusTreeNonLeafNode
 
getFirstPosition() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Call getFirstPosition on the proxied backend.
getFirstPosition() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
getFirstPosition() - Method in interface org.helidb.backend.DatabaseBackend
Get the position of the "first" record in the backend.
getFirstPosition() - Method in class org.helidb.backend.heap.HeapBackend
 
getFirstPosition() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
getFirstPosition() - Method in class org.helidb.backend.impl.map.MapBackend
 
getFirstPosition() - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
getFirstRecord() - Method in class org.helidb.util.bplus.BPlusTree
Get the tree's first record, i.e.
getHashLength() - Method in class org.helidb.lang.hasher.AbstractMessageDigestStringHasher
 
getHashLength() - Method in class org.helidb.lang.hasher.CharacterToCharacterHasher
 
getHashLength() - Method in class org.helidb.lang.hasher.ConstantSizeValueHasher
 
getHashLength() - Method in interface org.helidb.lang.hasher.Hasher
Get the size of the hash in bytes.
getHashLength() - Method in class org.helidb.lang.hasher.IntegerToIntegerHasher
 
getHashLength() - Method in class org.helidb.lang.hasher.LongToLongHasher
 
getHashLength() - Method in class org.helidb.lang.hasher.ShortToShortHasher
 
getInteger(byte[]) - Static method in class org.helidb.lang.serializer.IntegerSerializer
Get the int value encoded in the big-endian, byte array.
getKey() - Method in class org.helidb.api.support.MapEntry
 
getKey() - Method in interface org.helidb.Cursor
Get the key of the record that the cursor is currently referencing.
getKey() - Method in class org.helidb.lang.Record
Get the record's key.
getKey() - Method in class org.helidb.util.bplus.KeyAndValue
 
getKeyComparator() - Method in class org.helidb.util.bplus.BPlusTree
Get the Comparator used for establishing the ordering of the keys in the B+ Tree.
getKeyForFirstPointer() - Method in class org.helidb.util.bplus.BPlusTreeNonLeafNode
 
getKeys() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Get the keys from the proxied backend.
getKeys() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
getKeys() - Method in interface org.helidb.backend.DatabaseBackend
Return an immutable Set containing all keys in the database.
getKeys() - Method in class org.helidb.backend.heap.HeapBackend
 
getKeys() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
getKeys() - Method in class org.helidb.backend.impl.map.MapBackend
 
getLastPosition() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Call getLastPosition on the proxied backend.
getLastPosition() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
getLastPosition() - Method in interface org.helidb.backend.DatabaseBackend
Get the position of the "last" record in the backend.
getLastPosition() - Method in class org.helidb.backend.heap.HeapBackend
This method throws an UnsupportedOperationException.
getLastPosition() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
getLastPosition() - Method in class org.helidb.backend.impl.map.MapBackend
 
getLastPosition() - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
getLastRecord() - Method in class org.helidb.util.bplus.BPlusTree
Get the tree's last record, i.e.
getLeafNodeToTheLeftPointer() - Method in class org.helidb.util.bplus.BPlusTreeLeafNode
 
getLeafNodeToTheRightPointer() - Method in class org.helidb.util.bplus.BPlusTreeLeafNode
 
getLock() - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
Get the database's ReadWriteLock.
getLogAdapterHolder() - Method in class org.helidb.impl.AbstractDatabase
Subclasses call this to get something to log to.
getLong(byte[]) - Static method in class org.helidb.lang.serializer.LongSerializer
Get the long value encoded in the byte array.
getMaxBigIntSize() - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
Get the maximum size of BigInteger data.
getMaxNumberOfRecordsForLeafNode(long) - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
getMaxNumberOfRecordsForLeafNode(long) - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
getMaxNumberOfRecordsForLeafNode(long) - Method in interface org.helidb.util.bplus.NodeRepository
Get the maximum number of records for a leaf node in the tree at the supplied position.
getMaxNumberOfRecordsForNonLeafNode(long) - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
getMaxNumberOfRecordsForNonLeafNode(long) - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
getMaxNumberOfRecordsForNonLeafNode(long) - Method in interface org.helidb.util.bplus.NodeRepository
Get the maximum number of records for a non-leaf node in the tree at the supplied position.
getMaxNumberOfRecordsPerNode(int, int, long) - Method in class org.helidb.util.bplus.FixedSizeNodeSizeStrategy
 
getMaxNumberOfRecordsPerNode(int, int, long) - Method in interface org.helidb.util.bplus.NodeSizeStrategy
Given the supplied size of the node header and records, how many records will fit in a node?
getMaxNumberOfRecordsPerNode(int, int, long) - Method in class org.helidb.util.bplus.NumberOfRecordsNodeSizeStrategy
 
getMaxNumberOfRecordsPerNode(int, int, long) - Method in class org.helidb.util.bplus.PositionDependentNodeSizeStrategy
 
getNext(KeyAndValue<K, V>) - Method in class org.helidb.util.bplus.BPlusTree.AbstractBPlusTreeRecordIterator
Subclasses implement this to return the object that the iterator returns from the supplied record.
getNext(KeyAndValue<K, V>) - Method in class org.helidb.util.bplus.BPlusTree.BPlusTreeKeyIterator
 
getNext(KeyAndValue<K, V>) - Method in class org.helidb.util.bplus.BPlusTree.BPlusTreeRecordIterator
 
getNext(KeyAndValue<K, V>) - Method in class org.helidb.util.bplus.BPlusTree.BPlusTreeValueIterator
 
getNextPosition(P) - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Call getNextPosition on the proxied backend.
getNextPosition(KeyAndValue<K, V>) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
getNextPosition(P) - Method in interface org.helidb.backend.DatabaseBackend
Get the position of the "next" record in the backend, relative to the record at the supplied position.
getNextPosition(Long) - Method in class org.helidb.backend.heap.HeapBackend
 
getNextPosition(Long) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
getNextPosition(K) - Method in class org.helidb.backend.impl.map.MapBackend
 
getNextPosition(P) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
getNextRecord(K) - Method in class org.helidb.util.bplus.BPlusTree
Get the record after the record with the supplied key.
getNodeSize(int, int, long) - Method in class org.helidb.util.bplus.FixedSizeNodeSizeStrategy
 
getNodeSize(int, int, long) - Method in interface org.helidb.util.bplus.NodeSizeStrategy
Given the supplied size of the node header and records, how many bytes will a node occupy?
getNodeSize(int, int, long) - Method in class org.helidb.util.bplus.NumberOfRecordsNodeSizeStrategy
 
getNodeSize(int, int, long) - Method in class org.helidb.util.bplus.PositionDependentNodeSizeStrategy
 
getOrStartTransaction(boolean) - Static method in class org.helidb.txn.Transaction
Get the current transaction, possibly starting a new transaction if there is not one already.
getPosition() - Method in class org.helidb.util.bplus.AbstractBPlusTreeNode
 
getPosition() - Method in interface org.helidb.util.bplus.BPlusTreeNode
Get the position of the node in the backing storage.
getPositionOfRootNode() - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
getPositionOfRootNode() - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
getPositionOfRootNode() - Method in interface org.helidb.util.bplus.NodeRepository
Get the root node's position in the node repository.
getPreviousPosition(P) - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Call getPreviousPosition on the proxied backend.
getPreviousPosition(KeyAndValue<K, V>) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
getPreviousPosition(P) - Method in interface org.helidb.backend.DatabaseBackend
Get the position of the "previous" record in the backend, relative to the record at the supplied position.
getPreviousPosition(Long) - Method in class org.helidb.backend.heap.HeapBackend
This method throws an UnsupportedOperationException.
getPreviousPosition(Long) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
getPreviousPosition(K) - Method in class org.helidb.backend.impl.map.MapBackend
 
getPreviousPosition(P) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
getPreviousRecord(K) - Method in class org.helidb.util.bplus.BPlusTree
Get the record before the record with the supplied key.
getProxied() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Get the proxied backend.
getProxied() - Method in class org.helidb.backend.SingleAndProxiedDatabaseFile
Get the proxied DatabaseFiles object.
getReasonForUnableToCommit() - Method in class org.helidb.impl.txn.SharedReadLockReadOnlyTxnCollaborator
 
getReasonForUnableToCommit() - Method in interface org.helidb.txn.TransactionCollaborator
Can this collaborator commit its changes? If not, why?
getRecords() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Get the records from the proxied backend.
getRecords() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
getRecords() - Method in interface org.helidb.backend.DatabaseBackend
Return an immutable Set containing all database records (keys and values).
getRecords() - Method in class org.helidb.backend.heap.HeapBackend
 
getRecords() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
getRecords() - Method in class org.helidb.backend.impl.map.MapBackend
 
getRecords() - Method in class org.helidb.util.bplus.AbstractBPlusTreeNode
 
getRecords() - Method in interface org.helidb.util.bplus.BPlusTreeNode
Get the records of this node.
getSerializedSize() - Method in class org.helidb.lang.serializer.BooleanSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.ByteSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.CharacterSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.ConstantSizeStringSerializer
Get the size of serialized data.
getSerializedSize() - Method in class org.helidb.lang.serializer.DoubleSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.FloatSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.IntegerSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.LongSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.SerializableSerializer
 
getSerializedSize() - Method in interface org.helidb.lang.serializer.Serializer
If the serialized data produced by this serializer always is of the same size, return that size (in number of bytes).
getSerializedSize() - Method in class org.helidb.lang.serializer.ShortSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.StringSerializer
 
getSerializedSize() - Method in class org.helidb.lang.serializer.UnsignedByteSerializer
 
getShort(byte[]) - Static method in class org.helidb.lang.serializer.ShortSerializer
Get the short value encoded in the byte array.
getValue() - Method in class org.helidb.api.support.MapEntry
 
getValue() - Method in interface org.helidb.Cursor
Get the value of the record that the cursor is currently referencing.
getValue() - Method in class org.helidb.lang.Record
Get the record's value.
getValue() - Method in class org.helidb.util.bplus.KeyAndValue
 
getValueFor(K) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
getValueFor(K) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
getValueFor(K) - Method in interface org.helidb.backend.DatabaseBackend
Get the value for the record with the supplied key.
getValueFor(K) - Method in class org.helidb.backend.heap.HeapBackend
 
getValueFor(K) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
getValueFor(K) - Method in class org.helidb.backend.impl.map.MapBackend
 
getValueFor(K) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
getValues() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Get the values from the proxied backend.
getValues() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
getValues() - Method in interface org.helidb.backend.DatabaseBackend
Return an immutable Collection containing all values in the database.
getValues() - Method in class org.helidb.backend.heap.HeapBackend
 
getValues() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
getValues() - Method in class org.helidb.backend.impl.map.MapBackend
 

H

hash(String) - Method in class org.helidb.lang.hasher.AbstractMessageDigestStringHasher
This implementation creates a digest and then uses the Hasher.fromBytes(byte[]) method to create a byte array to return.
hash(Character) - Method in class org.helidb.lang.hasher.CharacterToCharacterHasher
 
hash(T) - Method in class org.helidb.lang.hasher.ConstantSizeValueHasher
 
hash(V) - Method in interface org.helidb.lang.hasher.Hasher
Hash the supplied value.
hash(Integer) - Method in class org.helidb.lang.hasher.IntegerToIntegerHasher
 
hash(Long) - Method in class org.helidb.lang.hasher.LongToLongHasher
 
hash(Short) - Method in class org.helidb.lang.hasher.ShortToShortHasher
 
hashCode() - Method in class org.helidb.api.support.MapEntry
Implemented according to the contract in Map.Entry.
hashCode() - Method in class org.helidb.impl.AbstractDatabase
Implemented according as specified by the contract in Map.
hashCode() - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
Not implemented according to the contract in Map since that would require a transaction.
hashCode() - Method in class org.helidb.lang.Record
 
hashCode() - Method in class org.helidb.util.bplus.BPlusTreeLeafNode
 
hashCode() - Method in class org.helidb.util.bplus.BPlusTreeNonLeafNode
 
hashCode() - Method in class org.helidb.util.bplus.KeyAndValue
 
Hasher<V,H extends Comparable<H>> - Interface in org.helidb.lang.hasher
A Hasher is used for converting values into a hash.
HasherSupport - Class in org.helidb.lang.hasher
This class contains static utility methods used by Hasher implementations.
HashException - Exception in org.helidb.lang.hasher
This unchecked exception is used to wrap other exceptions that may occur when hashing an object.
HashException(Throwable) - Constructor for exception org.helidb.lang.hasher.HashException
 
HashException(String) - Constructor for exception org.helidb.lang.hasher.HashException
 
hasNext() - Method in interface org.helidb.Cursor
Is there a record after the currently referenced record that the cursor can navigate to?
hasNext() - Method in class org.helidb.util.bplus.BPlusTree.AbstractBPlusTreeRecordIterator
 
hasNext() - Method in class org.helidb.util.bplus.BPlusTree.BPlusTreeNodeIterator
 
hasPointersToAdjacentNodes() - Method in class org.helidb.util.bplus.BPlusTreeLeafNode
 
hasPrevious() - Method in interface org.helidb.Cursor
Is there a record before the currently referenced record that the cursor can navigate to?
hasRecordMoveListeners() - Method in class org.helidb.backend.AbstractDatabaseBackend
Does this database backend have any registered record move listeners?
HeapBackend<K,V> - Class in org.helidb.backend.heap
This backend implementation takes database records and puts them on a heap.
HeapBackend(RandomlyAccessibleFile, boolean, Serializer<K>, Serializer<V>, LogAdapterHolder) - Constructor for class org.helidb.backend.heap.HeapBackend
Create a new heap backend for read/write access with database data starting at position 0 in the supplied file and the buffer size set to 8192 bytes.
HeapBackend(RandomlyAccessibleFile, boolean, Serializer<K>, Serializer<V>, long, int, LogAdapterHolder) - Constructor for class org.helidb.backend.heap.HeapBackend
Create a new heap backend.
HeapBackendBuilder<K,V> - Class in org.helidb.backend.heap
This is a builder object for building HeapBackend objects.
HeapBackendBuilder() - Constructor for class org.helidb.backend.heap.HeapBackendBuilder
 
HeapBackendFactory<K,V> - Class in org.helidb.backend.heap
This is a DatabaseBackendFactory for creating HeapBackend objects.
HeapBackendFactory(Serializer<K>, Serializer<V>, LogAdapterHolder) - Constructor for class org.helidb.backend.heap.HeapBackendFactory
Create a new factory.
HeapBackendFileManager - Class in org.helidb.impl.txn.sc
This is a ShadowCopyTxnDatabaseFileManager that can be used specifically for the HeapBackend.
HeapBackendFileManager(ReadWritableFile, DirectoryView) - Constructor for class org.helidb.impl.txn.sc.HeapBackendFileManager
Constructor.

I

insert(K, V) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
insert(K, V) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
insert(K, V) - Method in interface org.helidb.backend.DatabaseBackend
Insert a new record in the database.
insert(K, V) - Method in class org.helidb.backend.heap.HeapBackend
 
insert(K, V) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
insert(K, V) - Method in class org.helidb.backend.impl.map.MapBackend
 
insert(K, V) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
insert(K, V) - Method in interface org.helidb.Database
Insert a new record in the database.
insert(K, V) - Method in class org.helidb.impl.AbstractDatabase
 
insert(K, V) - Method in class org.helidb.util.bplus.BPlusTree
Insert a new record into the tree.
insertCheckKeyUnique(K, V) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
insertCheckKeyUnique(K, V) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
insertCheckKeyUnique(K, V) - Method in interface org.helidb.backend.DatabaseBackend
Insert a new record in the database after verifying that the key is unique within the database.
insertCheckKeyUnique(K, V) - Method in class org.helidb.backend.heap.HeapBackend
 
insertCheckKeyUnique(K, V) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
insertCheckKeyUnique(K, V) - Method in class org.helidb.backend.impl.map.MapBackend
 
insertCheckKeyUnique(K, V) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
insertOrReplace(K, V) - Method in class org.helidb.util.bplus.BPlusTree
If a record with the supplied key exists in the tree, update it with the new value, otherwise insert a new record.
insertOrUpdate(K, V) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
insertOrUpdate(K, V) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
insertOrUpdate(K, V) - Method in interface org.helidb.backend.DatabaseBackend
If a record with the supplied key exists, update its value.
insertOrUpdate(K, V) - Method in class org.helidb.backend.heap.HeapBackend
 
insertOrUpdate(K, V) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
insertOrUpdate(K, V) - Method in class org.helidb.backend.impl.map.MapBackend
 
insertOrUpdate(K, V) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
insertOrUpdate(K, V) - Method in interface org.helidb.Database
If the record's key already exists in the database, update the existing record.
insertOrUpdate(K, V) - Method in class org.helidb.impl.AbstractDatabase
 
INSTANCE - Static variable in class org.helidb.lang.hasher.CharacterToCharacterHasher
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.hasher.IntegerToIntegerHasher
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.hasher.LongToLongHasher
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.hasher.ShortToShortHasher
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.hasher.StringToLongHasher
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.BooleanSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.ByteSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.CharacterNullSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.CharacterSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.DoubleSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.FloatSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.IntegerNullSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.IntegerSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.LongNullSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.LongSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.ShortNullSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.ShortSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.StringNullSerializer
This instance uses the default special null value.
INSTANCE - Static variable in class org.helidb.lang.serializer.StringSerializer
The singleton instance.
INSTANCE - Static variable in class org.helidb.lang.serializer.UnsignedByteSerializer
The singleton instance.
IntegerNullSerializer - Class in org.helidb.lang.serializer
A Serializer for Integer values that may be null.
IntegerNullSerializer(int) - Constructor for class org.helidb.lang.serializer.IntegerNullSerializer
Instantiate this class.
IntegerSerializer - Class in org.helidb.lang.serializer
A Serializer for Integer values.
IntegerSerializer() - Constructor for class org.helidb.lang.serializer.IntegerSerializer
 
IntegerToIntegerHasher - Class in org.helidb.lang.hasher
This is a value-preserving Integer hasher.
IntegerToIntegerHasher() - Constructor for class org.helidb.lang.hasher.IntegerToIntegerHasher
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.BooleanSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.BooleanSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.ByteSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.ByteSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.CharacterNullSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.CharacterNullSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.CharacterSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.CharacterSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerNullSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerNullSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongNullSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongNullSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.ConstantSizeStringNullSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.ConstantSizeStringNullSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.ConstantSizeStringSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.ConstantSizeStringSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.DoubleSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.DoubleSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerNullSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerNullSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.FloatSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.FloatSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.IntegerNullSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.IntegerNullSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.IntegerSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.IntegerSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.LongNullSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.LongNullSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.LongSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.LongSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.SerializableSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.SerializableSerializer
 
interpret(byte[]) - Method in interface org.helidb.lang.serializer.Serializer
Interpret the data in the byte array to an object of the type handled by the Serializer implementation.
interpret(byte[], int, int) - Method in interface org.helidb.lang.serializer.Serializer
Interpret the data in the byte array to an object of the type handled by the Serializer implementation.
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.ShortNullSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.ShortNullSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.ShortSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.ShortSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.StringNullSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.StringNullSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.StringSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.StringSerializer
 
interpret(byte[], int, int) - Method in class org.helidb.lang.serializer.UnsignedByteSerializer
 
interpret(byte[]) - Method in class org.helidb.lang.serializer.UnsignedByteSerializer
 
isClosed() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
 
isClosed() - Method in interface org.helidb.Database
Is this database closed?
isClosed() - Method in class org.helidb.impl.AbstractDatabase
 
isClosed() - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
This method overrides the inherited isClosed method to acquire a read lock on the database before calling super.isClosed().
isEmpty() - Method in class org.helidb.impl.AbstractDatabase
 
isFinished() - Method in class org.helidb.impl.txn.SharedReadLockReadOnlyTxnCollaborator
 
isFinished() - Method in class org.helidb.txn.Transaction
Is this transaction finished, i.e.
isFinished() - Method in interface org.helidb.txn.TransactionCollaborator
Has this collaborator finished or rolled back its part of the transaction?
isFull() - Method in class org.helidb.util.bplus.AbstractBPlusTreeNode
 
isFull() - Method in interface org.helidb.util.bplus.BPlusTreeNode
Is this node full?
isIteratorSupported() - Method in class org.helidb.util.bplus.BPlusTree
This method returns true if this B+ Tree supports iteration.
isLeafNode() - Method in class org.helidb.util.bplus.BPlusTreeLeafNode
 
isLeafNode() - Method in interface org.helidb.util.bplus.BPlusTreeNode
Is the node a leaf node?
isLeafNode() - Method in class org.helidb.util.bplus.BPlusTreeNonLeafNode
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.BooleanSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.ByteSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.CharacterNullSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.CharacterSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerNullSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.ConfigurableLengthLongNullSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.ConstantSizeStringNullSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.ConstantSizeStringSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.DoubleSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerNullSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.FloatSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.IntegerNullSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.IntegerSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.LongNullSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.LongSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.SerializableSerializer
 
isNullValuesPermitted() - Method in interface org.helidb.lang.serializer.Serializer
Does this serializer permit null values?
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.ShortNullSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.ShortSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.StringNullSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.StringSerializer
 
isNullValuesPermitted() - Method in class org.helidb.lang.serializer.UnsignedByteSerializer
 
isPreservingValues() - Method in class org.helidb.lang.hasher.AbstractMessageDigestStringHasher
 
isPreservingValues() - Method in class org.helidb.lang.hasher.CharacterToCharacterHasher
 
isPreservingValues() - Method in class org.helidb.lang.hasher.ConstantSizeValueHasher
 
isPreservingValues() - Method in interface org.helidb.lang.hasher.Hasher
Does the hashing operation not modify the hashed value at all? This is true if v.equals(hasher.hash(v)) for all values v accepted by the hasher.
isPreservingValues() - Method in class org.helidb.lang.hasher.IntegerToIntegerHasher
 
isPreservingValues() - Method in class org.helidb.lang.hasher.LongToLongHasher
 
isPreservingValues() - Method in class org.helidb.lang.hasher.ShortToShortHasher
 
isReadOnly() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
 
isReadOnly() - Method in class org.helidb.impl.txn.SharedReadLockReadOnlyTxnCollaborator
 
isReadOnly() - Method in class org.helidb.txn.Transaction
Is this transaction read only?
isReadOnly() - Method in interface org.helidb.txn.TransactionCollaborator
Does this collaborator's Database participate in the transaction read only?
isRoot() - Method in class org.helidb.util.bplus.AbstractBPlusTreeNode
 
isRoot() - Method in interface org.helidb.util.bplus.BPlusTreeNode
Is this the tree's root node?
iterator() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Get an iterator from the proxied backend.
iterator() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
iterator() - Method in class org.helidb.backend.heap.HeapBackend
 
iterator() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
iterator() - Method in class org.helidb.backend.impl.map.MapBackend
 
iterator() - Method in class org.helidb.impl.AbstractDatabase
 
iterator() - Method in class org.helidb.util.bplus.BPlusTree
Get an Iterator for iterating over the tree's Record:s.

J

joinTransaction(boolean) - Method in class org.helidb.impl.txn.AbstractTransactionalDatabase
 
joinTransaction(boolean) - Method in interface org.helidb.txn.TransactionalDatabase
Manually join the calling thread's transaction.

K

KeyAndValue<K,V> - Class in org.helidb.util.bplus
A key and a value stored in a B+ Tree record.
KeyAndValue(K, V, Comparator<? super K>) - Constructor for class org.helidb.util.bplus.KeyAndValue
Create a new key-value pair.
KeyAndValue(K, V) - Constructor for class org.helidb.util.bplus.KeyAndValue
Create a new key-value pair.
KeyExistsException - Exception in org.helidb.lang
This exception is thrown by methods if the key that was supposed to not exist did.
KeyExistsException(String) - Constructor for exception org.helidb.lang.KeyExistsException
 
keyIterator() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Get a key iterator from the proxied backend.
keyIterator() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
keyIterator() - Method in interface org.helidb.backend.DatabaseBackend
Get an iterator for all keys in the database.
keyIterator() - Method in class org.helidb.backend.heap.HeapBackend
 
keyIterator() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
keyIterator() - Method in class org.helidb.backend.impl.map.MapBackend
 
keyIterator() - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
keyIterator() - Method in interface org.helidb.Database
This method returns an iterator over the keys in the database.
keyIterator() - Method in class org.helidb.impl.AbstractDatabase
 
keyIterator() - Method in class org.helidb.util.bplus.BPlusTree
Get an Iterator for iterating over the tree's keys.
KeyNotFoundException - Exception in org.helidb.lang
This exception is thrown when a key that was supposed to exist did not.
KeyNotFoundException(String) - Constructor for exception org.helidb.lang.KeyNotFoundException
 
keySet() - Method in class org.helidb.impl.AbstractDatabase
 

L

lastRecord() - Method in interface org.helidb.Database
Get a Cursor at the last record in the database.
lastRecord() - Method in class org.helidb.impl.AbstractDatabase
 
leafNodeHasPointersToAdjacentLeafNodes() - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
leafNodeHasPointersToAdjacentLeafNodes() - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
leafNodeHasPointersToAdjacentLeafNodes() - Method in interface org.helidb.util.bplus.NodeRepository
Does leaf nodes have pointers to their adjacent leaf nodes? If so, the tree supports iteration.
lock() - Method in class org.helidb.util.concurrent.AbstractLockAdapter
 
lockInterruptibly() - Method in class org.helidb.util.concurrent.AbstractLockAdapter
 
LoggingTransactionalDatabase<K,V,P> - Class in org.helidb.impl.txn.log
This Database implementation keeps a rollback log for read/write transactions.
LoggingTransactionalDatabase(DatabaseBackend<K, V, P>, ReadWritableFile, Serializer<K>, Serializer<V>, LogAdapterHolder) - Constructor for class org.helidb.impl.txn.log.LoggingTransactionalDatabase
Constructor.
LoggingTransactionalDatabaseBuilder<K,V> - Class in org.helidb.impl.txn.log
This is a builder object for building LoggingTransactionalDatabase objects.
LoggingTransactionalDatabaseBuilder() - Constructor for class org.helidb.impl.txn.log.LoggingTransactionalDatabaseBuilder
 
LongNullSerializer - Class in org.helidb.lang.serializer
A Serializer for Long values that may be null.
LongNullSerializer(long) - Constructor for class org.helidb.lang.serializer.LongNullSerializer
Instantiate this class.
LongSerializer - Class in org.helidb.lang.serializer
A Serializer for Long values.
LongSerializer() - Constructor for class org.helidb.lang.serializer.LongSerializer
 
LongToLongHasher - Class in org.helidb.lang.hasher
This is a value-preserving Long hasher.
LongToLongHasher() - Constructor for class org.helidb.lang.hasher.LongToLongHasher
 
LruCacheBackend<K,V,P> - Class in org.helidb.backend.cache.lru
The LRUCacheBackend is a proxy for another DatabaseBackend object and caches results from searches and updates.
LruCacheBackend(DatabaseBackend<K, V, P>, boolean, int, int) - Constructor for class org.helidb.backend.cache.lru.LruCacheBackend
 
LruCacheBackendFactory<K,V,P> - Class in org.helidb.backend.cache.lru
This is a DatabaseBackendFactory for building LruCacheBackend objects.
LruCacheBackendFactory() - Constructor for class org.helidb.backend.cache.lru.LruCacheBackendFactory
 
LruCacheNodeRepository<K,V> - Class in org.helidb.util.bplus
This node repository has a LRU cache for the nodes read from another, proxied node repository.
LruCacheNodeRepository(NodeRepository<K>, int) - Constructor for class org.helidb.util.bplus.LruCacheNodeRepository
Create a new LRU caching node repository.
LruCacheNodeRepositoryBuilder<K,V> - Class in org.helidb.util.bplus
This is a NodeRepositoryBuilder for building LruCacheNodeRepository objects.
LruCacheNodeRepositoryBuilder() - Constructor for class org.helidb.util.bplus.LruCacheNodeRepositoryBuilder
 

M

m_node - Variable in class org.helidb.util.bplus.BPlusTree.NodeSearchResult
 
m_parentNodes - Variable in class org.helidb.util.bplus.BPlusTree.NodeSearchResult
 
MapBackend<K,V> - Class in org.helidb.backend.impl.map
This is a simple DatabaseBackend implementation that stores the data in a Map implementation.
MapBackend(Serializer<K>, Serializer<V>, LogAdapterHolder) - Constructor for class org.helidb.backend.impl.map.MapBackend
Create a new MapBackend that will use a standard HashMap for storing the data.
MapBackend(Map<K, V>, Serializer<K>, Serializer<V>, LogAdapterHolder) - Constructor for class org.helidb.backend.impl.map.MapBackend
Create a new MapBackend that will use the supplied Map for storing the data.
MapEntry<K,V> - Class in org.helidb.api.support
This is an implementation of Map.Entry that can be used by classes implementing the Map interface.
MapEntry(Map<K, V>, K, V) - Constructor for class org.helidb.api.support.MapEntry
Create a new map entry.

N

newCondition() - Method in class org.helidb.util.concurrent.AbstractLockAdapter
 
next() - Method in interface org.helidb.Cursor
Navigate to the next record in the database.
next() - Method in class org.helidb.util.bplus.BPlusTree.AbstractBPlusTreeRecordIterator
 
next() - Method in class org.helidb.util.bplus.BPlusTree.BPlusTreeNodeIterator
 
NodeRepository<K> - Interface in org.helidb.util.bplus
The BPlusTree uses a NodeRepository to store and retrieve tree nodes.
NodeRepositoryBuilder<K> - Interface in org.helidb.util.bplus
This is the interface for NodeRepository builder objects.
NodeSizeStrategy - Interface in org.helidb.util.bplus
The node size strategy determines the size of a node in a B+ Tree when it is stored in a file by the FileBackedNodeRepository.
NotEnoughDataException - Exception in org.helidb.io
This exception is thrown by data reading operations that could not read as much data as they require from the backing data storage.
NotEnoughDataException(long, long) - Constructor for exception org.helidb.io.NotEnoughDataException
Create a new NotEnoughDataException.
NotEnoughDataException(long, long, long) - Constructor for exception org.helidb.io.NotEnoughDataException
Create a new NotEnoughDataException.
notifyRecordMoved(DatabaseBackend<? extends K, ? extends V, ? extends P>, K, P, P) - Method in interface org.helidb.backend.RecordMoveListener
This callback is called whenever a record is moved in the database backend.
notifyRecordMoveListeners(K, P, P) - Method in class org.helidb.backend.AbstractDatabaseBackend
Notify all record move listeners that a record has been relocated.
NoTransactionException - Exception in org.helidb.txn
This exception is thrown when a transactional database method is called but there is no active transaction for the calling thread.
NoTransactionException() - Constructor for exception org.helidb.txn.NoTransactionException
 
NumberOfRecordsNodeSizeStrategy - Class in org.helidb.util.bplus
This NodeSizeStrategy uses a fixed number of records per node.
NumberOfRecordsNodeSizeStrategy(int) - Constructor for class org.helidb.util.bplus.NumberOfRecordsNodeSizeStrategy
Constructor.

O

org.helidb - package org.helidb
The Database interface.
org.helidb.api.support - package org.helidb.api.support
Support classes for Database implementations.
org.helidb.backend - package org.helidb.backend
The DatabaseBackend and DatabaseBackendFactory interfaces.
org.helidb.backend.bpluscrs - package org.helidb.backend.bpluscrs
The ConstantRecordSizeBPlusTreeBackend database backend.
org.helidb.backend.cache.lru - package org.helidb.backend.cache.lru
The LruCacheBackend and LruCacheBackendFactory.
org.helidb.backend.heap - package org.helidb.backend.heap
The HeapBackend and HeapBackendFactory.
org.helidb.backend.heapcrs - package org.helidb.backend.heapcrs
The ConstantRecordSizeHeapBackend and ConstantRecordSizeHeapBackendFactory.
org.helidb.backend.impl.map - package org.helidb.backend.impl.map
The MapBackend.
org.helidb.backend.index.bplus - package org.helidb.backend.index.bplus
The BPlusTreeIndexBackend and BPlusTreeIndexBackendFactory.
org.helidb.impl - package org.helidb.impl
The AbstractDatabase.
org.helidb.impl.simple - package org.helidb.impl.simple
The SimpleDatabase.
org.helidb.impl.txn - package org.helidb.impl.txn
The AbstractTransactionalDatabase.
org.helidb.impl.txn.log - package org.helidb.impl.txn.log
The LoggingTransactionalDatabase.
org.helidb.impl.txn.sc - package org.helidb.impl.txn.sc
The ShadowCopyTransactionalDatabase.
org.helidb.io - package org.helidb.io
Support classes that would have been in the java.io package if they had been a part of Java.
org.helidb.lang - package org.helidb.lang
Basic support classes.
org.helidb.lang.hasher - package org.helidb.lang.hasher
The Hasher interface used by the BPlusTree and some implementations of it.
org.helidb.lang.serializer - package org.helidb.lang.serializer
The Serializer interface and implementations.
org.helidb.search - package org.helidb.search
 
org.helidb.txn - package org.helidb.txn
API for transactions and transactional databases.
org.helidb.util - package org.helidb.util
 
org.helidb.util.bplus - package org.helidb.util.bplus
The BPlusTree class and support classes and interfaces.
org.helidb.util.concurrent - package org.helidb.util.concurrent
Support classes that would have been in the java.util.concurrent package if they had been a part of Java.

P

PositionDependentNodeSizeStrategy - Class in org.helidb.util.bplus
This NodeSizeStrategy gives node sizes that depend on where in the file they are stored.
PositionDependentNodeSizeStrategy(int, Map<Long, Integer>) - Constructor for class org.helidb.util.bplus.PositionDependentNodeSizeStrategy
 
previous() - Method in interface org.helidb.Cursor
Navigate to the previous record in the database.
put(K, V) - Method in class org.helidb.impl.AbstractDatabase
 
putAll(Map<? extends K, ? extends V>) - Method in class org.helidb.impl.AbstractDatabase
 

R

read(RandomAccess, int) - Method in class org.helidb.lang.serializer.BooleanSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.BooleanSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.ByteSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.ByteSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.CharacterSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.CharacterSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.ConstantSizeStringSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.ConstantSizeStringSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.DoubleSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.DoubleSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.FloatSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.FloatSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.IntegerSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.IntegerSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.LongSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.LongSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.SerializableSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.SerializableSerializer
 
read(RandomAccess, int) - Method in interface org.helidb.lang.serializer.Serializer
Read a value from the RandomAccess' current position.
read(InputStream, int) - Method in interface org.helidb.lang.serializer.Serializer
Read a value from the InputStream.
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.ShortSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.ShortSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.StringSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.StringSerializer
 
read(RandomAccess, int) - Method in class org.helidb.lang.serializer.UnsignedByteSerializer
 
read(InputStream, int) - Method in class org.helidb.lang.serializer.UnsignedByteSerializer
 
readBigInteger(RandomAccess) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
Read a BigInteger value from the current position of the RandomAccess.
readBigInteger(InputStream) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
Read a BigInteger value from the current position of the InputStream.
readBoolean(RandomAccess) - Method in class org.helidb.lang.serializer.BooleanSerializer
Read a Boolean value from the current position of the RandomAccess.
readBoolean(InputStream) - Method in class org.helidb.lang.serializer.BooleanSerializer
Read a Boolean value from the current position of the InputStream.
readByte(RandomAccess) - Method in class org.helidb.lang.serializer.ByteSerializer
Read a Byte value from the current position of the RandomAccess.
readByte(InputStream) - Method in class org.helidb.lang.serializer.ByteSerializer
Read a Byte value from the current position of the InputStream.
readCharacter(RandomAccess) - Method in class org.helidb.lang.serializer.CharacterSerializer
Read a Character value from the current position of the RandomAccess.
readCharacter(InputStream) - Method in class org.helidb.lang.serializer.CharacterSerializer
Read a Character value from the current position of the InputStream.
readDouble(RandomAccess) - Method in class org.helidb.lang.serializer.DoubleSerializer
Read a Double value from the current position of the RandomAccess.
readDouble(InputStream) - Method in class org.helidb.lang.serializer.DoubleSerializer
Read a Double value from the current position of the InputStream.
readFloat(RandomAccess) - Method in class org.helidb.lang.serializer.FloatSerializer
Read a Float value from the current position of the RandomAccess.
readFloat(InputStream) - Method in class org.helidb.lang.serializer.FloatSerializer
Read a Float value from the current position of the InputStream.
readInteger(RandomAccess) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
Read an Integer value from the current position of the RandomAccess.
readInteger(InputStream) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
Read an Integer value from the current position of the InputStream.
readInteger(RandomAccess) - Method in class org.helidb.lang.serializer.IntegerSerializer
Read an Integer value from the current position of the RandomAccess.
readInteger(InputStream) - Method in class org.helidb.lang.serializer.IntegerSerializer
Read an Integer value from the current position of the InputStream.
readKeyAt(KeyAndValue<K, V>) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
readKeyAt(P) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
readKeyAt(P) - Method in interface org.helidb.backend.DatabaseBackend
Read the key at the supplied position.
readKeyAt(Long) - Method in class org.helidb.backend.heap.HeapBackend
 
readKeyAt(Long) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
readKeyAt(K) - Method in class org.helidb.backend.impl.map.MapBackend
 
readKeyAt(P) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
readLong(RandomAccess) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
Read a Long value from the current position of the RandomAccess.
readLong(InputStream) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
Read a Long value from the current position of the InputStream.
readLong(RandomAccess) - Method in class org.helidb.lang.serializer.LongSerializer
Read a Long value from the current position of the RandomAccess.
readLong(InputStream) - Method in class org.helidb.lang.serializer.LongSerializer
Read a Long value from the current position of the InputStream.
readNode(long, K) - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
readNode(long, K) - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
readNode(long, K) - Method in interface org.helidb.util.bplus.NodeRepository
Read the node at the supplied position.
ReadOnlyTransactionException - Exception in org.helidb.txn
This exception is thrown when a method requiring a read/write transaction for the calling thread is called, but the thread's transaction is read only.
ReadOnlyTransactionException() - Constructor for exception org.helidb.txn.ReadOnlyTransactionException
 
readRecordAt(KeyAndValue<K, V>) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
readRecordAt(P) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
readRecordAt(P) - Method in interface org.helidb.backend.DatabaseBackend
Read the record (key and value) at the specified position.
readRecordAt(Long) - Method in class org.helidb.backend.heap.HeapBackend
 
readRecordAt(Long) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
readRecordAt(K) - Method in class org.helidb.backend.impl.map.MapBackend
 
readRecordAt(P) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
readShort(RandomAccess) - Method in class org.helidb.lang.serializer.ShortSerializer
Read a Short value from the current position of the RandomAccess.
readShort(InputStream) - Method in class org.helidb.lang.serializer.ShortSerializer
Read a Short value from the current position of the InputStream.
readUnsignedByte(RandomAccess) - Method in class org.helidb.lang.serializer.UnsignedByteSerializer
Read an unsigned byte value from the current position of the RandomAccess.
readUnsignedByte(InputStream) - Method in class org.helidb.lang.serializer.UnsignedByteSerializer
Read an unsigned byte value from the current position of the InputStream.
readValueAt(KeyAndValue<K, V>) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
readValueAt(P) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
readValueAt(P) - Method in interface org.helidb.backend.DatabaseBackend
Read the value at the specified position.
readValueAt(Long) - Method in class org.helidb.backend.heap.HeapBackend
 
readValueAt(Long) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
readValueAt(K) - Method in class org.helidb.backend.impl.map.MapBackend
 
readValueAt(P) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
Record<K,V> - Class in org.helidb.lang
This object represents a database record, i.e.
Record(K, V) - Constructor for class org.helidb.lang.Record
Create a new record.
RecordMoveListener<K,V,P> - Interface in org.helidb.backend
This is the interface of a listener for when a record is moved in a DatabaseBackend.
remove(K) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
remove(K) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
remove(K) - Method in interface org.helidb.backend.DatabaseBackend
Delete the record with the supplied key and return its value.
remove(K) - Method in class org.helidb.backend.heap.HeapBackend
 
remove(K) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
remove(K) - Method in class org.helidb.backend.impl.map.MapBackend
 
remove(K) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
remove(Object) - Method in class org.helidb.impl.AbstractDatabase
 
remove() - Method in class org.helidb.util.bplus.BPlusTree.AbstractBPlusTreeRecordIterator
 
remove() - Method in class org.helidb.util.bplus.BPlusTree.BPlusTreeNodeIterator
 
removeAt(KeyAndValue<K, V>, K) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
removeAt(P, K) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
removeAt(P, K) - Method in interface org.helidb.backend.DatabaseBackend
Delete the record at the supplied position.
removeAt(Long, K) - Method in class org.helidb.backend.heap.HeapBackend
 
removeAt(Long, K) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
removeAt(K, K) - Method in class org.helidb.backend.impl.map.MapBackend
 
removeAt(P, K) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
removeRecordMoveListener(RecordMoveListener<? super K, ? super V, ? super P>) - Method in class org.helidb.backend.AbstractDatabaseBackend
 
removeRecordMoveListener(RecordMoveListener<? super K, ? super V, ? super P>) - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Remove the RecordMoveListener from the proxied backend.
removeRecordMoveListener(RecordMoveListener<? super K, ? super V, ? super P>) - Method in interface org.helidb.backend.DatabaseBackend
Remove a record move listener.
replace(K, V) - Method in class org.helidb.util.bplus.BPlusTree
Update a record with a new value.
replaceContents(DatabaseFiles) - Method in interface org.helidb.backend.DatabaseFiles
Replace the contents of the database file(s) with the contents of the supplied file(s).
replaceContents(DatabaseFiles) - Method in class org.helidb.backend.SingleAndProxiedDatabaseFile
 
replaceContents(DatabaseFiles) - Method in class org.helidb.backend.SingleDatabaseFile
 
replaceContentsWith(RandomAccess, long) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
replaceContentsWith(RandomAccess, long) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
replaceContentsWith(RandomAccess, long) - Method in interface org.helidb.backend.DatabaseBackend
Replace the contents of the database with content read from the supplied RandomAccess.
replaceContentsWith(RandomAccess, long) - Method in class org.helidb.backend.heap.HeapBackend
 
replaceContentsWith(RandomAccess, long) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
replaceContentsWith(RandomAccess, long) - Method in class org.helidb.backend.impl.map.MapBackend
 
replaceContentsWith(RandomAccess, long) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
replaceContentsWith(InputStream, long) - Method in class org.helidb.util.bplus.BPlusTree
Replace the tree with contents read from the supplied InputStream .
replaceContentsWith(InputStream, long) - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
replaceContentsWith(InputStream, long) - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
replaceContentsWith(InputStream, long) - Method in interface org.helidb.util.bplus.NodeRepository
Replace the contents of the node repository with data read from the stream.
reportKey(P, K) - Method in interface org.helidb.backend.ForEachKeyCallback
Report a key.
returnBookedLeafNodePosition(long) - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
returnBookedLeafNodePosition(long) - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
returnBookedLeafNodePosition(long) - Method in interface org.helidb.util.bplus.NodeRepository
Return a previously booked position for a leaf node.
returnBookedNonLeafNodePosition(long) - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
returnBookedNonLeafNodePosition(long) - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
returnBookedNonLeafNodePosition(long) - Method in interface org.helidb.util.bplus.NodeRepository
Return a previously booked position for a non-leaf node.
rollback() - Method in class org.helidb.impl.txn.SharedReadLockReadOnlyTxnCollaborator
 
rollback() - Method in class org.helidb.txn.Transaction
Roll back the transaction.
rollback() - Method in interface org.helidb.txn.TransactionCollaborator
Roll back this collaborator's work.

S

SearchMode - Class in org.helidb.search
This class defines constants for all search modes supported by the different databases.
SearchMode(String) - Constructor for class org.helidb.search.SearchMode
Create a new search mode.
SerializableSerializer<T extends Serializable> - Class in org.helidb.lang.serializer
This is a Serializer for generic Serializable objects.
SerializableSerializer() - Constructor for class org.helidb.lang.serializer.SerializableSerializer
 
SerializationException - Exception in org.helidb.lang.serializer
This exception can be thrown by the serialization and deserialization methods of Serializer implementations.
SerializationException(String) - Constructor for exception org.helidb.lang.serializer.SerializationException
 
SerializationException(Throwable) - Constructor for exception org.helidb.lang.serializer.SerializationException
 
SerializationException(String, Throwable) - Constructor for exception org.helidb.lang.serializer.SerializationException
 
serialize(Boolean) - Method in class org.helidb.lang.serializer.BooleanSerializer
 
serialize(Boolean, byte[], int) - Method in class org.helidb.lang.serializer.BooleanSerializer
 
serialize(Byte, byte[], int) - Method in class org.helidb.lang.serializer.ByteSerializer
 
serialize(Byte) - Method in class org.helidb.lang.serializer.ByteSerializer
 
serialize(Character, byte[], int) - Method in class org.helidb.lang.serializer.CharacterNullSerializer
 
serialize(Character) - Method in class org.helidb.lang.serializer.CharacterNullSerializer
 
serialize(Character, byte[], int) - Method in class org.helidb.lang.serializer.CharacterSerializer
 
serialize(Character) - Method in class org.helidb.lang.serializer.CharacterSerializer
 
serialize(Integer, byte[], int) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerNullSerializer
 
serialize(Integer) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerNullSerializer
 
serialize(Integer, byte[], int) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
 
serialize(Integer) - Method in class org.helidb.lang.serializer.ConfigurableLengthIntegerSerializer
 
serialize(Long, byte[], int) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongNullSerializer
 
serialize(Long) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongNullSerializer
 
serialize(Long, byte[], int) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
 
serialize(Long) - Method in class org.helidb.lang.serializer.ConfigurableLengthLongSerializer
 
serialize(String, byte[], int) - Method in class org.helidb.lang.serializer.ConstantSizeStringNullSerializer
 
serialize(String) - Method in class org.helidb.lang.serializer.ConstantSizeStringNullSerializer
 
serialize(String, byte[], int) - Method in class org.helidb.lang.serializer.ConstantSizeStringSerializer
 
serialize(String) - Method in class org.helidb.lang.serializer.ConstantSizeStringSerializer
 
serialize(Double, byte[], int) - Method in class org.helidb.lang.serializer.DoubleSerializer
 
serialize(Double) - Method in class org.helidb.lang.serializer.DoubleSerializer
 
serialize(BigInteger, byte[], int) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerNullSerializer
 
serialize(BigInteger) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerNullSerializer
 
serialize(BigInteger, byte[], int) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
 
serialize(BigInteger) - Method in class org.helidb.lang.serializer.FixedSizeBigIntegerSerializer
 
serialize(Float, byte[], int) - Method in class org.helidb.lang.serializer.FloatSerializer
 
serialize(Float) - Method in class org.helidb.lang.serializer.FloatSerializer
 
serialize(Integer, byte[], int) - Method in class org.helidb.lang.serializer.IntegerNullSerializer
 
serialize(Integer) - Method in class org.helidb.lang.serializer.IntegerNullSerializer
 
serialize(Integer, byte[], int) - Method in class org.helidb.lang.serializer.IntegerSerializer
 
serialize(Integer) - Method in class org.helidb.lang.serializer.IntegerSerializer
 
serialize(Long, byte[], int) - Method in class org.helidb.lang.serializer.LongNullSerializer
 
serialize(Long) - Method in class org.helidb.lang.serializer.LongNullSerializer
 
serialize(Long, byte[], int) - Method in class org.helidb.lang.serializer.LongSerializer
 
serialize(Long) - Method in class org.helidb.lang.serializer.LongSerializer
 
serialize(T) - Method in class org.helidb.lang.serializer.SerializableSerializer
 
serialize(T, byte[], int) - Method in class org.helidb.lang.serializer.SerializableSerializer
 
serialize(T) - Method in interface org.helidb.lang.serializer.Serializer
Serialize the supplied object into a new byte array.
serialize(T, byte[], int) - Method in interface org.helidb.lang.serializer.Serializer
Serialize the supplied object into the byte array.
serialize(Short, byte[], int) - Method in class org.helidb.lang.serializer.ShortNullSerializer
 
serialize(Short) - Method in class org.helidb.lang.serializer.ShortNullSerializer
 
serialize(Short, byte[], int) - Method in class org.helidb.lang.serializer.ShortSerializer
 
serialize(Short) - Method in class org.helidb.lang.serializer.ShortSerializer
 
serialize(String, byte[], int) - Method in class org.helidb.lang.serializer.StringNullSerializer
 
serialize(String) - Method in class org.helidb.lang.serializer.StringNullSerializer
 
serialize(String, byte[], int) - Method in class org.helidb.lang.serializer.StringSerializer
 
serialize(String) - Method in class org.helidb.lang.serializer.StringSerializer
 
serialize(Short, byte[], int) - Method in class org.helidb.lang.serializer.UnsignedByteSerializer
 
serialize(Short) - Method in class org.helidb.lang.serializer.UnsignedByteSerializer
 
Serializer<T> - Interface in org.helidb.lang.serializer
Serializers are used by DatabaseBackend:s to serialize data when writing it to disk, and to interpret serialized data when reading it again.
setBufferSize(int) - Method in class org.helidb.backend.heap.HeapBackendBuilder
Set the size of temporary in-memory buffers used by the backend.
setBufferSize(int) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackendBuilder
Set the size of temporary in-memory buffers used by the backend.
setBufferSize(int) - Method in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
Set the size of in-memory buffers used by FileBackedNodeRepository.writeContentsTo(java.io.OutputStream).
setCollaborator(Database<?, ?>, TransactionCollaborator<?, ?, ?>) - Method in class org.helidb.txn.Transaction
Register a collaborator.
setFirstPointer(long) - Method in class org.helidb.util.bplus.BPlusTreeNonLeafNode
 
setFull(boolean) - Method in class org.helidb.util.bplus.AbstractBPlusTreeNode
 
setFull(boolean) - Method in interface org.helidb.util.bplus.BPlusTreeNode
Set the flag signaling that this node is full.
setInternalPointerSize(int) - Method in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
Set the size of internal pointers.
setKey(K) - Method in class org.helidb.util.bplus.KeyAndValue
 
setKeyComparator(Comparator<? super K>) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackendFactory
Add a custom key comparator for establishing the key ordering in the database backend.
setKeyComparator(Comparator<? super K>) - Method in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
Set the Comparator used for comparing keys.
setKeyForFirstPointer(K) - Method in class org.helidb.util.bplus.BPlusTreeNonLeafNode
 
setKeyHasher(Hasher<K, H>) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackendBuilder
Set the hasher for hashing database keys.
setKeySerializer(Serializer<K>) - Method in class org.helidb.backend.heap.HeapBackendBuilder
Set the key serializer.
setKeySerializer(Serializer<K>) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackendBuilder
Set the key serializer.
setKeySerializer(Serializer<K>) - Method in class org.helidb.impl.txn.log.LoggingTransactionalDatabaseBuilder
Set a key serializer.
setKeySerializer(Serializer<K>) - Method in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
Set a key Serializer.
setLeafNodeHasPointersToAdjacentNodes(boolean) - Method in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
Set the flag determining if leaf node has pointers to adjacent leaf nodes.
setLeafNodeToTheLeftPointer(Long) - Method in class org.helidb.util.bplus.BPlusTreeLeafNode
 
setLeafNodeToTheRightPointer(Long) - Method in class org.helidb.util.bplus.BPlusTreeLeafNode
 
setLogAdapter(LogAdapterHolder) - Method in class org.helidb.impl.txn.log.LoggingTransactionalDatabaseBuilder
Set a log adapter.
setLogAdapterHolder(LogAdapterHolder) - Method in class org.helidb.backend.heap.HeapBackendBuilder
Set the log adapter holder.
setLogAdapterHolder(LogAdapterHolder) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackendBuilder
Set the log adapter holder.
setLogAdapterHolder(LogAdapterHolder) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackendBuilder
Set the log adapter holder.
setLogAdapterHolder(LogAdapterHolder) - Method in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
Set a log adapter holder.
setMaxCacheSize(int) - Method in class org.helidb.backend.cache.lru.LruCacheBackendFactory
Set the maximum size for the database record cache.
setMaxCacheSize(int) - Method in class org.helidb.util.bplus.LruCacheNodeRepositoryBuilder
Set the maximum cache size measured in the number of cached nodes.
setMaxNegativeCacheSize(int) - Method in class org.helidb.backend.cache.lru.LruCacheBackendFactory
Set the maximum size for the cache for failed search results.
setNodeSizeStrategy(NodeSizeStrategy) - Method in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
Set a NodeSizeStrategy.
setProxiedBackendFactory(DatabaseBackendFactory<K, V, P>) - Method in class org.helidb.backend.cache.lru.LruCacheBackendFactory
Set the factory for the proxied backend.
setProxiedBuilder(NodeRepositoryBuilder<K>) - Method in class org.helidb.util.bplus.LruCacheNodeRepositoryBuilder
Set the builder for building the proxied node repository.
setReadOnly(boolean) - Method in class org.helidb.backend.heap.HeapBackendBuilder
Should the backend be read only? By default it is not.
setReadOnly(boolean) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackendBuilder
Should the created backend be read only? The default value is false.
setReadOnly(boolean) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackendBuilder
Set if the index should be read only.
setStartPosOfData(long) - Method in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
 
setStartPosOfDb(long) - Method in class org.helidb.backend.heap.HeapBackendBuilder
Set the start position of database data in the database file.
setStartPosOfDb(long) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackendBuilder
Set the start position of database data in the database file.
setValue(V) - Method in class org.helidb.api.support.MapEntry
 
setValue(V) - Method in class org.helidb.util.bplus.KeyAndValue
 
setValueSerializer(Serializer<V>) - Method in class org.helidb.backend.heap.HeapBackendBuilder
Set the value serializer.
setValueSerializer(Serializer<V>) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackendBuilder
Set the value serializer.
setValueSerializer(Serializer<V>) - Method in class org.helidb.impl.txn.log.LoggingTransactionalDatabaseBuilder
Set a value serializer.
setValueSerializer(Serializer<V>) - Method in class org.helidb.util.bplus.FileBackedNodeRepositoryBuilder
Set a value Serializer.
ShadowCopyTransactionalDatabase<K,V,P> - Class in org.helidb.impl.txn.sc
This transactional database frontend creates shadow copies of its database files for read/write transactions, and uses them to replace the original files when the transaction is committed.
ShadowCopyTransactionalDatabase(ShadowCopyTxnDatabaseFileManager, DatabaseBackendFactory<K, V, P>, boolean, LogAdapterHolder) - Constructor for class org.helidb.impl.txn.sc.ShadowCopyTransactionalDatabase
Create a new database.
ShadowCopyTxnDatabaseFileManager - Interface in org.helidb.impl.txn.sc
This is the interface implemented by objects that manage the database files for the ShadowCopyTransactionalDatabase.
SharedReadLockReadOnlyTxnCollaborator<K,V,P> - Class in org.helidb.impl.txn
This is a generic TransactionCollaborator for read only transactions.
SharedReadLockReadOnlyTxnCollaborator(DatabaseBackend<K, V, P>, Lock, LogAdapterHolder) - Constructor for class org.helidb.impl.txn.SharedReadLockReadOnlyTxnCollaborator
Create a collaborator for a read only transaction.
ShortNullSerializer - Class in org.helidb.lang.serializer
A Serializer for Short values that may be null.
ShortNullSerializer(short) - Constructor for class org.helidb.lang.serializer.ShortNullSerializer
Instantiate this class.
ShortSerializer - Class in org.helidb.lang.serializer
A Serializer for Short values.
ShortSerializer() - Constructor for class org.helidb.lang.serializer.ShortSerializer
 
ShortToShortHasher - Class in org.helidb.lang.hasher
This is a value-preserving Short hasher.
ShortToShortHasher() - Constructor for class org.helidb.lang.hasher.ShortToShortHasher
 
SimpleDatabase<K,V,P> - Class in org.helidb.impl.simple
This is a simple implementation of Database.
SimpleDatabase(DatabaseBackend<K, V, P>, LogAdapterHolder) - Constructor for class org.helidb.impl.simple.SimpleDatabase
Create a new database frontend.
SingleAndProxiedDatabaseFile - Class in org.helidb.backend
This DatabaseFiles implementation contains a single ReadWritableFile and a proxied DatabaseFiles object.
SingleAndProxiedDatabaseFile(DatabaseFiles, ReadWritableFile) - Constructor for class org.helidb.backend.SingleAndProxiedDatabaseFile
Create a SingleAndProxiedDatabaseFile object.
SingleDatabaseFile - Class in org.helidb.backend
This DatabaseFiles implementation contains a single ReadWritableFile.
SingleDatabaseFile(ReadWritableFile) - Constructor for class org.helidb.backend.SingleDatabaseFile
Create a SingleDatabaseFile.
SingleFileAndProxiedFileManager - Class in org.helidb.impl.txn.sc
This ShadowCopyTxnDatabaseFileManager contains a SingleAndProxiedDatabaseFile and a proxied file manager for managing the proxied file.
SingleFileAndProxiedFileManager(ShadowCopyTxnDatabaseFileManager, ReadWritableFile, DirectoryView) - Constructor for class org.helidb.impl.txn.sc.SingleFileAndProxiedFileManager
Constructor.
SingleFileManager - Class in org.helidb.impl.txn.sc
This ShadowCopyTxnDatabaseFileManager manages a SingleDatabaseFile.
SingleFileManager(ReadWritableFile, DirectoryView) - Constructor for class org.helidb.impl.txn.sc.SingleFileManager
Constructor.
size() - Method in class org.helidb.impl.AbstractDatabase
 
size() - Method in class org.helidb.util.bplus.BPlusTree
Get the number of records in the tree.
startTransaction(boolean) - Static method in class org.helidb.txn.Transaction
Start a new transaction for the calling thread.
StringNullSerializer - Class in org.helidb.lang.serializer
This is a String serializer that can handle null values.
StringNullSerializer(String) - Constructor for class org.helidb.lang.serializer.StringNullSerializer
Instantiate the serializer.
StringSerializer - Class in org.helidb.lang.serializer
A Serializer for String values.
StringSerializer() - Constructor for class org.helidb.lang.serializer.StringSerializer
 
StringToBigIntegerHasher - Class in org.helidb.lang.hasher
This Hasher uses a MessageDigest object with a configurable hash algorithm to produce a hash of a configurable length from a String.
StringToBigIntegerHasher(int) - Constructor for class org.helidb.lang.hasher.StringToBigIntegerHasher
 
StringToBigIntegerHasher(int, int) - Constructor for class org.helidb.lang.hasher.StringToBigIntegerHasher
 
StringToBigIntegerHasher(int, int, String, String, Charset) - Constructor for class org.helidb.lang.hasher.StringToBigIntegerHasher
 
StringToLongHasher - Class in org.helidb.lang.hasher
This Hasher uses a MessageDigest object with a configurable hash algorithm to produce an eight bytes long hash from a String.
StringToLongHasher() - Constructor for class org.helidb.lang.hasher.StringToLongHasher
Create an instance of the hasher.
StringToLongHasher(int) - Constructor for class org.helidb.lang.hasher.StringToLongHasher
Create an instance of the hasher that uses a bit mask for the most significant byte when creating a hash.
StringToLongHasher(String, int, String, Charset) - Constructor for class org.helidb.lang.hasher.StringToLongHasher
Create a hasher.

T

toByteArray() - Method in class org.helidb.io.FixedSizeByteArrayOutputStream
This returns this output stream's array.
toBytes(Character) - Method in class org.helidb.lang.hasher.CharacterToCharacterHasher
 
toBytes(T) - Method in class org.helidb.lang.hasher.ConstantSizeValueHasher
 
toBytes(H) - Method in interface org.helidb.lang.hasher.Hasher
Serialize the hash to a byte array.
toBytes(Integer) - Method in class org.helidb.lang.hasher.IntegerToIntegerHasher
 
toBytes(Long) - Method in class org.helidb.lang.hasher.LongToLongHasher
 
toBytes(Short) - Method in class org.helidb.lang.hasher.ShortToShortHasher
 
toBytes(BigInteger) - Method in class org.helidb.lang.hasher.StringToBigIntegerHasher
 
toBytes(Long) - Method in class org.helidb.lang.hasher.StringToLongHasher
 
toString() - Method in class org.helidb.api.support.MapEntry
 
toString() - Method in class org.helidb.lang.Record
 
toString() - Method in class org.helidb.search.SearchMode
 
toString() - Method in class org.helidb.util.bplus.BPlusTree
 
toString() - Method in class org.helidb.util.bplus.BPlusTreeLeafNode
 
toString() - Method in class org.helidb.util.bplus.BPlusTreeNonLeafNode
 
toString() - Method in class org.helidb.util.bplus.KeyAndValue
 
Transaction - Class in org.helidb.txn
This object represents a database transaction.
Transaction(boolean) - Constructor for class org.helidb.txn.Transaction
Create a new transaction.
TransactionalDatabase<K,V> - Interface in org.helidb.txn
This interface extends the Database interface with a method for joining a transaction manually.
TransactionCollaborator<K,V,P> - Interface in org.helidb.txn
A transaction collaborator is used by a database that participates in a transaction.
tryLock() - Method in class org.helidb.util.concurrent.AbstractLockAdapter
 
tryLock(long, TimeUnit) - Method in class org.helidb.util.concurrent.AbstractLockAdapter
 

U

UnableToCommitException - Exception in org.helidb.txn
This exception is thrown by the Transaction.commit() method if the current transaction is unable to commit.
UnableToCommitException(String) - Constructor for exception org.helidb.txn.UnableToCommitException
 
unlock() - Method in class org.helidb.util.concurrent.AbstractLockAdapter
 
UnsignedByteSerializer - Class in org.helidb.lang.serializer
A Serializer for unsigned byte values (between 0 and 255).
UnsignedByteSerializer() - Constructor for class org.helidb.lang.serializer.UnsignedByteSerializer
 
update(K, V) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
update(K, V) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
update(K, V) - Method in interface org.helidb.backend.DatabaseBackend
Update an existing record with a new value.
update(K, V) - Method in class org.helidb.backend.heap.HeapBackend
 
update(K, V) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
update(K, V) - Method in class org.helidb.backend.impl.map.MapBackend
 
update(K, V) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
update(K, V) - Method in interface org.helidb.Database
Update an existing record in the database with a new value.
update(K, V) - Method in class org.helidb.impl.AbstractDatabase
 
updateAt(KeyAndValue<K, V>, K, V) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
updateAt(P, K, V) - Method in class org.helidb.backend.cache.lru.LruCacheBackend
 
updateAt(P, K, V) - Method in interface org.helidb.backend.DatabaseBackend
Update the record at the supplied position with the new value.
updateAt(Long, K, V) - Method in class org.helidb.backend.heap.HeapBackend
 
updateAt(Long, K, V) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
updateAt(K, K, V) - Method in class org.helidb.backend.impl.map.MapBackend
 
updateAt(P, K, V) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
updateContentsVersion() - Method in class org.helidb.backend.AbstractDatabaseBackend
This is used by subclasses to update the contents version whenever the database is modified.

V

valueIterator() - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Get a value iterator from the proxied backend.
valueIterator() - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
valueIterator() - Method in interface org.helidb.backend.DatabaseBackend
Get an iterator for all the values in the database.
valueIterator() - Method in class org.helidb.backend.heap.HeapBackend
 
valueIterator() - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
valueIterator() - Method in class org.helidb.backend.impl.map.MapBackend
 
valueIterator() - Method in interface org.helidb.Database
Get an iterator over the values in the database.
valueIterator() - Method in class org.helidb.impl.AbstractDatabase
 
valueIterator() - Method in class org.helidb.util.bplus.BPlusTree
Get an Iterator for iterating over the tree's values.
values() - Method in class org.helidb.impl.AbstractDatabase
 
verifyRepositoryIntegrity() - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
verifyRepositoryIntegrity() - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
verifyRepositoryIntegrity() - Method in interface org.helidb.util.bplus.NodeRepository
Verify the node repository's integrity.

W

write(byte[]) - Method in class org.helidb.io.FixedSizeByteArrayOutputStream
 
write(byte[], int, int) - Method in class org.helidb.io.FixedSizeByteArrayOutputStream
 
write(int) - Method in class org.helidb.io.FixedSizeByteArrayOutputStream
 
writeContentsTo(RandomAccess) - Method in class org.helidb.backend.AbstractDatabaseBackendProxy
Call writeContentsTo on the proxied backend.
writeContentsTo(RandomAccess) - Method in class org.helidb.backend.bpluscrs.ConstantRecordSizeBPlusTreeBackend
 
writeContentsTo(RandomAccess) - Method in interface org.helidb.backend.DatabaseBackend
Write the contents of the entire database to the current position in the supplied RandomAccess.
writeContentsTo(RandomAccess) - Method in class org.helidb.backend.heap.HeapBackend
 
writeContentsTo(RandomAccess) - Method in class org.helidb.backend.heapcrs.ConstantRecordSizeHeapBackend
 
writeContentsTo(RandomAccess) - Method in class org.helidb.backend.impl.map.MapBackend
 
writeContentsTo(RandomAccess) - Method in class org.helidb.backend.index.bplus.BPlusTreeIndexBackend
 
writeContentsTo(OutputStream) - Method in class org.helidb.util.bplus.BPlusTree
Write the contents of the tree to the supplied OutputStream.
writeContentsTo(OutputStream) - Method in class org.helidb.util.bplus.FileBackedNodeRepository
 
writeContentsTo(OutputStream) - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
writeContentsTo(OutputStream) - Method in interface org.helidb.util.bplus.NodeRepository
Write the contents of the node repository to the stream.
writeNode(BPlusTreeNode<K, ?>) - Method in class org.helidb.util.bplus.FileBackedNodeRepository
Write the node.
writeNode(BPlusTreeNode<K, ?>) - Method in class org.helidb.util.bplus.LruCacheNodeRepository
 
writeNode(BPlusTreeNode<K, ?>) - Method in interface org.helidb.util.bplus.NodeRepository
Write the node to the repository.

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