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

A

AbstractPrimaryMap<K,V> - Class in jdbm.helper
 
AbstractPrimaryMap() - Constructor for class jdbm.helper.AbstractPrimaryMap
 
addRecordListener(RecordListener<K, V>) - Method in class jdbm.btree.BTree
add RecordListener which is notified about record changes
addRecordListener(RecordListener<K, V>) - Method in class jdbm.btree.BTreeSortedMap
 
addRecordListener(RecordListener<K, V>) - Method in interface jdbm.helper.JdbmBase
add RecordListener which is notified about record changes
addRecordListener(RecordListener<Long, V>) - Method in class jdbm.helper.PrimaryStoreMapImpl
 
addRecordListener(RecordListener<K, V>) - Method in class jdbm.htree.HTree
add RecordListener which is notified about record changes
addRecordListener(RecordListener<K, V>) - Method in class jdbm.htree.HTreeMap
 
APPEND_TO_END - Static variable in class jdbm.RecordManagerOptions
Option to disable free space reclaim.
ARRAY_BYTE_255 - Static variable in class jdbm.helper.Serialization
 
ARRAY_BYTE_INT - Static variable in class jdbm.helper.Serialization
 
ARRAY_INT_B_255 - Static variable in class jdbm.helper.Serialization
 
ARRAY_INT_B_INT - Static variable in class jdbm.helper.Serialization
 
ARRAY_INT_I - Static variable in class jdbm.helper.Serialization
 
ARRAY_INT_PACKED - Static variable in class jdbm.helper.Serialization
 
ARRAY_INT_S - Static variable in class jdbm.helper.Serialization
 
ARRAY_LONG_B - Static variable in class jdbm.helper.Serialization
 
ARRAY_LONG_I - Static variable in class jdbm.helper.Serialization
 
ARRAY_LONG_L - Static variable in class jdbm.helper.Serialization
 
ARRAY_LONG_PACKED - Static variable in class jdbm.helper.Serialization
 
ARRAY_LONG_S - Static variable in class jdbm.helper.Serialization
 
ARRAY_OBJECT - Static variable in class jdbm.helper.Serialization
 
ARRAY_OBJECT_255 - Static variable in class jdbm.helper.Serialization
 
ARRAY_OBJECT_PACKED_LONG - Static variable in class jdbm.helper.Serialization
 
ARRAYLIST - Static variable in class jdbm.helper.Serialization
 
ARRAYLIST_255 - Static variable in class jdbm.helper.Serialization
 
ARRAYLIST_PACKED_LONG - Static variable in class jdbm.helper.Serialization
 
asMap() - Method in class jdbm.btree.BTree
 
asMap() - Method in class jdbm.htree.HTree
 
AUTO_COMMIT - Static variable in class jdbm.RecordManagerOptions
Option to automatically commit data after each operation.

B

BaseRecordManager - Class in jdbm.recman
This class manages records, which are uninterpreted blobs of data.
BaseRecordManager(String) - Constructor for class jdbm.recman.BaseRecordManager
Creates a record manager for the indicated file
BIGDECIMAL - Static variable in class jdbm.helper.Serialization
 
BIGDECIMAL_255 - Static variable in class jdbm.helper.Serialization
 
BIGINTEGER - Static variable in class jdbm.helper.Serialization
 
BIGINTEGER_255 - Static variable in class jdbm.helper.Serialization
 
BLOCKIO - Static variable in class jdbm.helper.Serialization
 
BlockIo - Class in jdbm.recman
This class wraps a page-sized byte array and provides methods to read and write data to and from it.
BlockIo() - Constructor for class jdbm.recman.BlockIo
Default constructor for serialization
BOOLEAN_FALSE - Static variable in class jdbm.helper.Serialization
 
BOOLEAN_TRUE - Static variable in class jdbm.helper.Serialization
 
BPage<K,V> - Class in jdbm.btree
Page of a Btree.
BPage() - Constructor for class jdbm.btree.BPage
No-argument constructor used by serialization.
BPAGE_LEAF - Static variable in class jdbm.helper.Serialization
 
BPAGE_NONLEAF - Static variable in class jdbm.helper.Serialization
 
browse() - Method in class jdbm.btree.BTree
Get a browser initially positioned at the beginning of the BTree.
browse(K) - Method in class jdbm.btree.BTree
Get a browser initially positioned just before the given key.
BTree<K,V> - Class in jdbm.btree
B+Tree persistent indexing data structure.
BTree() - Constructor for class jdbm.btree.BTree
No-argument constructor used by serialization.
BTreeSecondarySortedMap<A,K,V> - Class in jdbm.btree
 
BTreeSecondarySortedMap(BTree<A, Iterable<K>>, JdbmBase<K, V>) - Constructor for class jdbm.btree.BTreeSecondarySortedMap
 
BTreeSortedMap<K,V> - Class in jdbm.btree
 
BTreeSortedMap(BTree<K, V>, boolean) - Constructor for class jdbm.btree.BTreeSortedMap
 
BYTE_0 - Static variable in class jdbm.helper.Serialization
 
BYTE_1 - Static variable in class jdbm.helper.Serialization
 
BYTE_FULL - Static variable in class jdbm.helper.Serialization
 
BYTE_MINUS_1 - Static variable in class jdbm.helper.Serialization
 
ByteArrayComparator - Class in jdbm.helper
Comparator for byte arrays.
ByteArrayComparator() - Constructor for class jdbm.helper.ByteArrayComparator
 

C

CACHE_SIZE - Static variable in class jdbm.RecordManagerOptions
Size of the MRU cache.
CACHE_TYPE - Static variable in class jdbm.RecordManagerOptions
Type of cache to use.
CacheRecordManager - Class in jdbm.recman
A RecordManager wrapping and caching another RecordManager.
CacheRecordManager(RecordManager, int, boolean) - Constructor for class jdbm.recman.CacheRecordManager
Construct a CacheRecordManager wrapping another RecordManager and using a given cache policy.
CHAR - Static variable in class jdbm.helper.Serialization
 
CLASS - Static variable in class jdbm.helper.Serialization
 
clear() - Method in class jdbm.btree.BTreeSortedMap
 
clear() - Method in class jdbm.helper.LongHashMap
Removes all mappings from this hash map, leaving it empty.
clear() - Method in class jdbm.helper.PrimaryStoreMapImpl
 
clear() - Method in class jdbm.htree.HTreeMap
 
clearCache() - Method in class jdbm.recman.BaseRecordManager
 
clearCache() - Method in class jdbm.recman.CacheRecordManager
 
clearCache() - Method in interface jdbm.RecordManager
Empty cache.
close() - Method in class jdbm.recman.BaseRecordManager
Closes the record manager.
close() - Method in class jdbm.recman.CacheRecordManager
 
close() - Method in interface jdbm.RecordManager
Closes the record manager and release resources.
commit() - Method in class jdbm.recman.BaseRecordManager
 
commit() - Method in class jdbm.recman.CacheRecordManager
 
commit() - Method in interface jdbm.RecordManager
Commit (make persistent) all changes since beginning of transaction.
ComparableComparator<A extends java.lang.Comparable> - Class in jdbm.helper
Compares comparables.
comparator() - Method in class jdbm.btree.BTreeSortedMap
 
compare(byte[], byte[]) - Method in class jdbm.helper.ByteArrayComparator
Compare two objects.
compare(Comparable, Comparable) - Method in class jdbm.helper.ComparableComparator
 
compare(BlockIo, BlockIo) - Method in class jdbm.recman.TransactionManager.BlockIoComparator
 
compareByteArray(byte[], byte[]) - Static method in class jdbm.helper.ByteArrayComparator
Compare two byte arrays.
COMPRESS - Static variable in class jdbm.RecordManagerOptions
Compress pages in RecordManager with ZLIB.
containsKey(Object) - Method in class jdbm.btree.BTreeSortedMap
 
containsKey(long) - Method in class jdbm.helper.LongHashMap
Returns whether this map contains the specified key.
containsKey(Object) - Method in class jdbm.helper.PrimaryStoreMapImpl
 
containsKey(Object) - Method in class jdbm.htree.HTreeMap
 
containsValue(Object) - Method in class jdbm.helper.LongHashMap
Returns whether this map contains the specified value.
createInstance(RecordManager, Comparator<K>) - Static method in class jdbm.btree.BTree
Create a new persistent BTree, with 16 entries per node.
createInstance(RecordManager) - Static method in class jdbm.btree.BTree
Create a new persistent BTree, with 16 entries per node.
createInstance(RecordManager, Comparator<K>, Serializer<K>, Serializer<V>) - Static method in class jdbm.btree.BTree
Create a new persistent BTree, with 16 entries per node.
createInstance(RecordManager, Comparator<K>, Serializer<K>, Serializer<V>, int) - Static method in class jdbm.btree.BTree
Create a new persistent BTree with the given number of entries per node.
createInstance(RecordManager) - Static method in class jdbm.htree.HTree
Create a persistent hashtable.
createInstance(RecordManager, Serializer<K>, Serializer<V>) - Static method in class jdbm.htree.HTree
Create a persistent hashtable.
createRecordManager(String) - Static method in class jdbm.RecordManagerFactory
Create a record manager.
createRecordManager(String, Properties) - Static method in class jdbm.RecordManagerFactory
Create a record manager.

D

DEBUG - Static variable in class jdbm.helper.Serialization
print statistics to STDOUT
DEBUG - Static variable in class jdbm.recman.BaseRecordManager
Static debugging flag
DEBUGSTORE - Static variable in class jdbm.helper.Serialization
if set to true, debug informations will be saved to store to make it more robust
DEFAULT_SIZE - Static variable in class jdbm.btree.BTree
Default page size (number of entries per node)
DefaultSerializer - Class in jdbm.helper
Default java serializer.
defrag() - Method in class jdbm.recman.BaseRecordManager
 
defrag() - Method in class jdbm.recman.CacheRecordManager
 
defrag() - Method in interface jdbm.RecordManager
Defragments storage, so it consumes less space.
delete() - Method in class jdbm.btree.BTree
Deletes all BPages in this BTree, then deletes the tree from the record manager
delete(long) - Method in class jdbm.recman.BaseRecordManager
 
delete(long) - Method in class jdbm.recman.CacheRecordManager
 
delete(long) - Method in interface jdbm.RecordManager
Deletes a record.
deserialize(SerializerInput) - Method in class jdbm.btree.BPage
Deserialize the content of an object from a byte array.
deserialize(SerializerInput) - Method in class jdbm.helper.DefaultSerializer
Deserialize the content of an object from a byte array.
deserialize(byte[]) - Static method in class jdbm.helper.Serialization
Deserialize an object from a byte array
deserialize(SerializerInput) - Method in interface jdbm.Serializer
Deserialize the content of an object from a byte array.
DISABLE_TRANSACTIONS - Static variable in class jdbm.RecordManagerOptions
Option to disable transaction (to increase performance at the cost of potential data loss).
disableTransactions() - Method in class jdbm.recman.BaseRecordManager
Switches off transactioning for the record manager.
DOUBLE_0 - Static variable in class jdbm.helper.Serialization
 
DOUBLE_1 - Static variable in class jdbm.helper.Serialization
 
DOUBLE_255 - Static variable in class jdbm.helper.Serialization
 
DOUBLE_FULL - Static variable in class jdbm.helper.Serialization
 
DOUBLE_MINUS_1 - Static variable in class jdbm.helper.Serialization
 
DOUBLE_SHORT - Static variable in class jdbm.helper.Serialization
 

E

END_OF_NORMAL_SERIALIZATION - Static variable in class jdbm.helper.Serialization
 
entrySet() - Method in class jdbm.btree.BTreeSortedMap
 
entrySet() - Method in class jdbm.helper.PrimaryStoreMapImpl
 
entrySet() - Method in class jdbm.htree.HTreeMap
 
equals(Object) - Method in class jdbm.recman.TransactionManager.BlockIoComparator
 
extractSecondaryKey(K, V) - Method in interface jdbm.SecondaryKeyExtractor
Extracts secondary key from primary map

F

fetch(long) - Method in class jdbm.helper.RecordManagerImpl
 
fetch(long, Serializer<A>) - Method in class jdbm.recman.BaseRecordManager
 
fetch(long, Serializer<A>, boolean) - Method in class jdbm.recman.BaseRecordManager
 
fetch(long, Serializer<A>, boolean) - Method in class jdbm.recman.CacheRecordManager
 
fetch(long, Serializer<A>) - Method in class jdbm.recman.CacheRecordManager
 
fetch(long) - Method in interface jdbm.RecordManager
Fetches a record using standard java object serialization.
fetch(long, Serializer<A>) - Method in interface jdbm.RecordManager
Fetches a record using a custom serializer.
fetch(long, Serializer<A>, boolean) - Method in interface jdbm.RecordManager
Fetches a record using a custom serializer and optionaly disabled cache
find(K) - Method in class jdbm.btree.BTree
Find the value associated with the given key.
find(K) - Method in class jdbm.helper.AbstractPrimaryMap
 
find(K) - Method in interface jdbm.helper.JdbmBase
Find Value for given Key
find(K) - Method in class jdbm.htree.HTree
Returns the value which is associated with the given key.
findGreaterOrEqual(K) - Method in class jdbm.btree.BTree
Find the value associated with the given key, or the entry immediately following this key in the ordered BTree.
findKeyForValue(V) - Method in interface jdbm.InverseHashView
Finds first primary key which corresponds to value.
findKeysForValue(V) - Method in interface jdbm.InverseHashView
Finds primary keys which corresponds to value.
firstKey() - Method in class jdbm.btree.BTreeSortedMap
 
FLOAT_0 - Static variable in class jdbm.helper.Serialization
 
FLOAT_1 - Static variable in class jdbm.helper.Serialization
 
FLOAT_255 - Static variable in class jdbm.helper.Serialization
 
FLOAT_FULL - Static variable in class jdbm.helper.Serialization
 
FLOAT_MINUS_1 - Static variable in class jdbm.helper.Serialization
 
FLOAT_SHORT - Static variable in class jdbm.helper.Serialization
 

G

get(Object) - Method in class jdbm.btree.BTreeSortedMap
 
get(long) - Method in class jdbm.helper.LongHashMap
Returns the value of the mapping with the specified key.
get(Object) - Method in class jdbm.helper.PrimaryStoreMapImpl
 
get(RecordManager, Serializer<E>) - Method in class jdbm.helper.StoreReference
 
get(RecordManager) - Method in class jdbm.helper.StoreReference
 
get(Object) - Method in class jdbm.htree.HTreeMap
 
getBTree() - Method in class jdbm.btree.BPage
Return the B+Tree that is the owner of this BPage.
getBuf() - Method in class jdbm.helper.OpenByteArrayInputStream
 
getBuf() - Method in class jdbm.helper.OpenByteArrayOutputStream
 
getComparator() - Method in class jdbm.btree.BTree
 
getKey() - Method in class jdbm.helper.Tuple
Get the key.
getKeySerializer() - Method in class jdbm.btree.BTree
 
getKeySerializer() - Method in class jdbm.htree.HTree
 
getLock() - Method in class jdbm.btree.BTree
Get the ReadWriteLock associated with this BTree.
getNamedObject(String) - Method in class jdbm.recman.BaseRecordManager
 
getNamedObject(String) - Method in class jdbm.recman.CacheRecordManager
 
getNamedObject(String) - Method in interface jdbm.RecordManager
Obtain the record id of a named object.
getNext(Tuple<K, V>) - Method in interface jdbm.helper.TupleBrowser
Get the next tuple.
getPrevious(Tuple<K, V>) - Method in interface jdbm.helper.TupleBrowser
Get the previous tuple.
getPrimaryValue(K) - Method in class jdbm.btree.BTreeSecondarySortedMap
 
getPrimaryValue(K) - Method in class jdbm.htree.HTreeSecondaryMap
 
getPrimaryValue(K) - Method in interface jdbm.SecondaryHashMap
Convert primary key to primary value.
getPrimaryValue(K) - Method in interface jdbm.SecondaryTreeMap
Convert primary key to primary value.
getPrimaryValues(A) - Method in class jdbm.btree.BTreeSecondarySortedMap
 
getPrimaryValues(A) - Method in class jdbm.htree.HTreeSecondaryMap
 
getPrimaryValues(A) - Method in interface jdbm.SecondaryHashMap
Returns values from primary map which are matching given secondary key
getPrimaryValues(A) - Method in interface jdbm.SecondaryTreeMap
Returns values from primary map which are matching given secondary key
getRecid() - Method in class jdbm.btree.BTree
Return the persistent record identifier of the BTree.
getRecId() - Method in class jdbm.helper.StoreReference
 
getRecid() - Method in class jdbm.htree.HTree
Get the record identifier used to load this hashtable.
getRecordManager() - Method in class jdbm.btree.BTree
 
getRecordManager() - Method in class jdbm.btree.BTreeSortedMap
 
getRecordManager() - Method in interface jdbm.helper.JdbmBase
 
getRecordManager() - Method in class jdbm.helper.PrimaryStoreMapImpl
 
getRecordManager() - Method in class jdbm.htree.HTree
 
getRecordManager() - Method in class jdbm.htree.HTreeMap
 
getRecordManager() - Method in class jdbm.recman.CacheRecordManager
Get the underlying Record Manager.
getRoot(int) - Method in class jdbm.recman.BaseRecordManager
 
getRootCount() - Method in class jdbm.recman.BaseRecordManager
 
getTree() - Method in class jdbm.btree.BTreeSortedMap
 
getTree() - Method in class jdbm.htree.HTreeMap
 
getValue() - Method in class jdbm.helper.Tuple
Get the value.
getValueSerializer() - Method in class jdbm.btree.BTree
 
getValueSerializer() - Method in class jdbm.htree.HTree
 
getView() - Method in class jdbm.recman.BlockIo
Returns the current view of the block.

H

hashMap(String) - Method in class jdbm.helper.RecordManagerImpl
 
hashMap(String, Serializer<K>) - Method in class jdbm.helper.RecordManagerImpl
 
hashMap(String, Serializer<K>, Serializer<V>) - Method in class jdbm.helper.RecordManagerImpl
 
HASHMAP - Static variable in class jdbm.helper.Serialization
 
hashMap(String) - Method in interface jdbm.RecordManager
Creates or load existing Primary Hash Map which persists data into DB.
hashMap(String, Serializer<K>) - Method in interface jdbm.RecordManager
Creates or load existing Primary Hash Map which persists data into DB.
hashMap(String, Serializer<K>, Serializer<V>) - Method in interface jdbm.RecordManager
Creates or load existing Primary Hash Map which persists data into DB.
HASHMAP_255 - Static variable in class jdbm.helper.Serialization
 
HASHSET - Static variable in class jdbm.helper.Serialization
 
HASHSET_255 - Static variable in class jdbm.helper.Serialization
 
HASHTABLE - Static variable in class jdbm.helper.Serialization
 
HASHTABLE_255 - Static variable in class jdbm.helper.Serialization
 
headMap(K) - Method in class jdbm.btree.BTreeSortedMap
 
HTree<K,V> - Class in jdbm.htree
Persistent hashtable implementation for PageManager.
HTREE_BUCKET - Static variable in class jdbm.helper.Serialization
 
HTREE_DIRECTORY - Static variable in class jdbm.helper.Serialization
 
HTreeMap<K,V> - Class in jdbm.htree
 
HTreeMap(HTree<K, V>, boolean) - Constructor for class jdbm.htree.HTreeMap
 
HTreeSecondaryMap<A,K,V> - Class in jdbm.htree
 
HTreeSecondaryMap(HTree<A, Iterable<K>>, JdbmBase<K, V>) - Constructor for class jdbm.htree.HTreeSecondaryMap
 

I

inBounds(K) - Method in class jdbm.btree.BTreeSortedMap
 
insert(K, V, boolean) - Method in class jdbm.btree.BTree
Insert an entry in the BTree.
insert(Object) - Method in class jdbm.helper.RecordManagerImpl
 
insert(A, Serializer<A>) - Method in class jdbm.recman.BaseRecordManager
Inserts a new record using a custom serializer.
insert(A, Serializer<A>) - Method in class jdbm.recman.CacheRecordManager
 
insert(Object) - Method in interface jdbm.RecordManager
Inserts a new record using standard java object serialization.
insert(A, Serializer<A>) - Method in interface jdbm.RecordManager
Inserts a new record using a custom serializer.
INSTANCE - Static variable in class jdbm.helper.ComparableComparator
use this instance, dont allocate new
INSTANCE - Static variable in class jdbm.helper.DefaultSerializer
 
INTEGER_0 - Static variable in class jdbm.helper.Serialization
 
INTEGER_1 - Static variable in class jdbm.helper.Serialization
 
INTEGER_2 - Static variable in class jdbm.helper.Serialization
 
INTEGER_255 - Static variable in class jdbm.helper.Serialization
 
INTEGER_3 - Static variable in class jdbm.helper.Serialization
 
INTEGER_4 - Static variable in class jdbm.helper.Serialization
 
INTEGER_5 - Static variable in class jdbm.helper.Serialization
 
INTEGER_6 - Static variable in class jdbm.helper.Serialization
 
INTEGER_7 - Static variable in class jdbm.helper.Serialization
 
INTEGER_8 - Static variable in class jdbm.helper.Serialization
 
INTEGER_MINUS_1 - Static variable in class jdbm.helper.Serialization
 
INTEGER_MINUS_MAX - Static variable in class jdbm.helper.Serialization
 
INTEGER_PACK - Static variable in class jdbm.helper.Serialization
 
INTEGER_PACK_NEG - Static variable in class jdbm.helper.Serialization
 
inverseHashView(String) - Method in class jdbm.helper.AbstractPrimaryMap
 
inverseHashView(JdbmBase<K, V>, String) - Static method in class jdbm.helper.SecondaryKeyHelper
 
InverseHashView<K,V> - Interface in jdbm
Provides inverse view on persisted map.
inverseHashView(String) - Method in interface jdbm.PrimaryMap
 
isAppendToEnd() - Method in class jdbm.recman.BaseRecordManager
if true, new records alwayes saved to end of file and free space is not reclaimed.
isEmpty() - Method in class jdbm.helper.LongHashMap
Returns whether this map is empty.

J

JAVA_SERIALIZATION - Static variable in class jdbm.helper.Serialization
 
jdbm - package jdbm
This package contains public API and introduction
jdbm.btree - package jdbm.btree
B+Tree (scalable persistent tree) data structure implementation.
jdbm.helper - package jdbm.helper
Miscelaneous utility classes and interfaces.
jdbm.htree - package jdbm.htree
HTree (scalable persistent hashtable) data structure implementation.
jdbm.recman - package jdbm.recman
Core classes for managing persistent objects and processing transactions.
JdbmBase<K,V> - Interface in jdbm.helper
common interface for Trees and PrimaryMaps

K

keys() - Method in class jdbm.htree.HTree
Returns an enumeration of the keys contained in this
keySet() - Method in class jdbm.helper.PrimaryStoreMapImpl
 

L

lastKey() - Method in class jdbm.btree.BTreeSortedMap
 
LINKEDHASHMAP - Static variable in class jdbm.helper.Serialization
 
LINKEDHASHMAP_255 - Static variable in class jdbm.helper.Serialization
 
LINKEDHASHSET - Static variable in class jdbm.helper.Serialization
 
LINKEDHASHSET_255 - Static variable in class jdbm.helper.Serialization
 
LINKEDLIST - Static variable in class jdbm.helper.Serialization
 
LINKEDLIST_255 - Static variable in class jdbm.helper.Serialization
 
load(RecordManager, long) - Static method in class jdbm.btree.BTree
Load a persistent BTree.
load(RecordManager, long) - Static method in class jdbm.htree.HTree
Load a persistent hashtable
load(RecordManager, long, Serializer<K>, Serializer<V>) - Static method in class jdbm.htree.HTree
Load a persistent hashtable
LONG_0 - Static variable in class jdbm.helper.Serialization
 
LONG_1 - Static variable in class jdbm.helper.Serialization
 
LONG_2 - Static variable in class jdbm.helper.Serialization
 
LONG_255 - Static variable in class jdbm.helper.Serialization
 
LONG_3 - Static variable in class jdbm.helper.Serialization
 
LONG_4 - Static variable in class jdbm.helper.Serialization
 
LONG_5 - Static variable in class jdbm.helper.Serialization
 
LONG_6 - Static variable in class jdbm.helper.Serialization
 
LONG_7 - Static variable in class jdbm.helper.Serialization
 
LONG_8 - Static variable in class jdbm.helper.Serialization
 
LONG_MINUS_1 - Static variable in class jdbm.helper.Serialization
 
LONG_MINUS_MAX - Static variable in class jdbm.helper.Serialization
 
LONG_PACK - Static variable in class jdbm.helper.Serialization
 
LONG_PACK_NEG - Static variable in class jdbm.helper.Serialization
 
LongHashMap<V> - Class in jdbm.helper
Hash Map which uses primitive long as key.
LongHashMap() - Constructor for class jdbm.helper.LongHashMap
Constructs a new empty HashMap instance.
LongHashMap(int) - Constructor for class jdbm.helper.LongHashMap
Constructs a new HashMap instance with the specified capacity.
LongHashMap(int, float) - Constructor for class jdbm.helper.LongHashMap
Constructs a new HashMap instance with the specified capacity and load factor.
LongPacker - Class in jdbm.helper
Packing utility for non-negative long values.
LongPacker() - Constructor for class jdbm.helper.LongPacker
 

N

NAME_DIRECTORY_ROOT - Static variable in class jdbm.recman.BaseRecordManager
Reserved slot for name directory.
newIntegerKey() - Method in class jdbm.btree.BTreeSortedMap
 
newIntegerKey() - Method in interface jdbm.PrimaryTreeMap
In case primary key is Integer, new unique Key is generated, otherwise exception is thrown
newLongKey() - Method in class jdbm.btree.BTreeSortedMap
 
newLongKey() - Method in interface jdbm.PrimaryTreeMap
In case primary key is Long, new unique Key is generated, otherwise exception is thrown
NORMAL - Static variable in class jdbm.helper.Serialization
 
NULL - Static variable in class jdbm.helper.Serialization
 
NULL_RECID - Static variable in interface jdbm.RecordManager
Recid indicating no record (e.g.

O

OpenByteArrayInputStream - Class in jdbm.helper
 
OpenByteArrayInputStream(byte[]) - Constructor for class jdbm.helper.OpenByteArrayInputStream
 
OpenByteArrayOutputStream - Class in jdbm.helper
 
OpenByteArrayOutputStream(byte[]) - Constructor for class jdbm.helper.OpenByteArrayOutputStream
 

P

packInt(DataOutput, int) - Static method in class jdbm.helper.LongPacker
 
packLong(DataOutput, long) - Static method in class jdbm.helper.LongPacker
Packs a non-negative long value into the minimum #of bytes in which the value can be represented and writes those bytes onto the output stream.
PrimaryHashMap<K,V> - Interface in jdbm
Primary HashMap which persist data in storage.
PrimaryMap<K,V> - Interface in jdbm
Primary Map which persist data in storage.
PrimaryStoreMap<K extends java.lang.Long,V> - Interface in jdbm
Primary map which stores references to storage entries.
PrimaryStoreMapImpl<K extends java.lang.Long,V> - Class in jdbm.helper
 
PrimaryStoreMapImpl(PrimaryMap<Long, String>, Serializer<V>) - Constructor for class jdbm.helper.PrimaryStoreMapImpl
 
PrimaryTreeMap<K,V> - Interface in jdbm
Primary HashMap which persist data in storage.
PROPERTIES - Static variable in class jdbm.helper.Serialization
 
PROPERTIES_255 - Static variable in class jdbm.helper.Serialization
 
PROVIDER_FACTORY - Static variable in class jdbm.RecordManagerOptions
Class name of the provider factory.
put(K, V) - Method in class jdbm.btree.BTreeSortedMap
 
put(long, V) - Method in class jdbm.helper.LongHashMap
Maps the specified key to the specified value.
put(Long, V) - Method in class jdbm.helper.PrimaryStoreMapImpl
 
put(K, V) - Method in class jdbm.htree.HTree
Associates the specified value with the specified key.
put(K, V) - Method in class jdbm.htree.HTreeMap
 
putValue(V) - Method in class jdbm.helper.PrimaryStoreMapImpl
 
putValue(V) - Method in interface jdbm.PrimaryStoreMap
 

R

readByte(int) - Method in class jdbm.recman.BlockIo
Reads a byte from the indicated position
readByteArray(DataInputStream) - Static method in class jdbm.btree.BPage
 
readExternal(ObjectInput) - Method in class jdbm.btree.BTree
Implement Externalizable interface.
readExternal(DataInputStream) - Method in class jdbm.recman.BlockIo
 
readInt(int) - Method in class jdbm.recman.BlockIo
Reads an int from the indicated position
readLong(int) - Method in class jdbm.recman.BlockIo
Reads a long from the indicated position
readObject(DataInputStream) - Static method in class jdbm.helper.Serialization
 
readObject() - Method in class jdbm.SerializerInput
 
readPackedInt() - Method in class jdbm.SerializerInput
 
readPackedLong() - Method in class jdbm.SerializerInput
 
readShort(int) - Method in class jdbm.recman.BlockIo
Reads a short from the indicated position
readSixByteLong(int) - Method in class jdbm.recman.BlockIo
Reads a long from the indicated position
readThreeByteInt(int) - Method in class jdbm.recman.BlockIo
Reads an int from the indicated position
readUnsignedshort(int) - Method in class jdbm.recman.BlockIo
 
recordInserted(K, V) - Method in interface jdbm.RecordListener
 
RecordListener<K,V> - Interface in jdbm
An listener notifed when record is inserted, updated or removed
RecordManager - Interface in jdbm
An interface to manages records, which are objects serialized to byte[] on background.
RecordManagerFactory - Class in jdbm
This is the factory class to use for instantiating RecordManager instances.
RecordManagerFactory() - Constructor for class jdbm.RecordManagerFactory
 
RecordManagerImpl - Class in jdbm.helper
Abstract class for record manager which implements most of stuff
RecordManagerImpl() - Constructor for class jdbm.helper.RecordManagerImpl
 
RecordManagerOptions - Class in jdbm
Standard options for RecordManager.
RecordManagerOptions() - Constructor for class jdbm.RecordManagerOptions
 
recordRemoved(K, V) - Method in interface jdbm.RecordListener
 
recordUpdated(K, V, V) - Method in interface jdbm.RecordListener
 
remove(K) - Method in class jdbm.btree.BTree
Remove an entry with the given key from the BTree.
remove(Object) - Method in class jdbm.btree.BTreeSortedMap
 
remove(long) - Method in class jdbm.helper.LongHashMap
Removes the mapping with the specified key from this map.
remove(Object) - Method in class jdbm.helper.PrimaryStoreMapImpl
 
remove(RecordManager) - Method in class jdbm.helper.StoreReference
 
remove(K) - Method in class jdbm.htree.HTree
Remove the value which is associated with the given key.
remove(Object) - Method in class jdbm.htree.HTreeMap
 
removeRecordListener(RecordListener<K, V>) - Method in class jdbm.btree.BTree
remove RecordListener which is notified about record changes
removeRecordListener(RecordListener<K, V>) - Method in class jdbm.btree.BTreeSortedMap
 
removeRecordListener(RecordListener<K, V>) - Method in interface jdbm.helper.JdbmBase
remove RecordListener which is notified about record changes
removeRecordListener(RecordListener<Long, V>) - Method in class jdbm.helper.PrimaryStoreMapImpl
 
removeRecordListener(RecordListener<K, V>) - Method in class jdbm.htree.HTree
remove RecordListener which is notified about record changes
removeRecordListener(RecordListener<K, V>) - Method in class jdbm.htree.HTreeMap
 
reset(byte[], int) - Method in class jdbm.helper.OpenByteArrayInputStream
 
reset(byte[]) - Method in class jdbm.helper.OpenByteArrayOutputStream
 
rollback() - Method in class jdbm.recman.BaseRecordManager
 
rollback() - Method in class jdbm.recman.CacheRecordManager
 
rollback() - Method in interface jdbm.RecordManager
Rollback (cancel) all changes since beginning of transaction.

S

secondaryBTree(String, SecondaryKeyExtractor<A, K, V>, Comparator<A>, JdbmBase<K, V>) - Static method in class jdbm.helper.SecondaryKeyHelper
 
secondaryBTreeManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, Comparator<A>, JdbmBase<K, V>) - Static method in class jdbm.helper.SecondaryKeyHelper
 
secondaryHashMap(String, SecondaryKeyExtractor<A, K, V>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryHashMap(String, SecondaryKeyExtractor<A, K, V>, Serializer<A>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryHashMap(String, SecondaryKeyExtractor<A, K, V>, JdbmBase<K, V>, Serializer<A>) - Static method in class jdbm.helper.SecondaryKeyHelper
 
secondaryHashMap(String, SecondaryKeyExtractor<A, K, V>) - Method in interface jdbm.PrimaryMap
Secondary hash view over this PrimaryMap.
secondaryHashMap(String, SecondaryKeyExtractor<A, K, V>, Serializer<A>) - Method in interface jdbm.PrimaryMap
 
SecondaryHashMap<A,K,V> - Interface in jdbm
Secondary HashMap.
secondaryHashMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryHashMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, Serializer<A>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryHashMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, JdbmBase<K, V>, Serializer<A>) - Static method in class jdbm.helper.SecondaryKeyHelper
 
secondaryHashMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>) - Method in interface jdbm.PrimaryMap
 
secondaryHashMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, Serializer<A>) - Method in interface jdbm.PrimaryMap
 
secondaryHTree(String, SecondaryKeyExtractor<A, K, V>, JdbmBase<K, V>, Serializer<A>) - Static method in class jdbm.helper.SecondaryKeyHelper
 
secondaryHTreeManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, JdbmBase<K, V>, Serializer<A>) - Static method in class jdbm.helper.SecondaryKeyHelper
 
SecondaryKeyExtractor<A,K,V> - Interface in jdbm
Extract secondary key from record in primary map.
SecondaryKeyHelper - Class in jdbm.helper
Utilities related to Secondary Maps
SecondaryKeyHelper() - Constructor for class jdbm.helper.SecondaryKeyHelper
 
secondarySortedMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, Comparator<A>, JdbmBase<K, V>, Serializer<A>) - Static method in class jdbm.helper.SecondaryKeyHelper
 
secondaryTreeMap(String, SecondaryKeyExtractor<A, K, V>, Comparator<A>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryTreeMap(String, SecondaryKeyExtractor<A, K, V>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryTreeMap(String, SecondaryKeyExtractor<A, K, V>, Comparator<A>, Serializer<A>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryTreeMap(String, SecondaryKeyExtractor<A, K, V>, Serializer<A>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryTreeMap(String, SecondaryKeyExtractor<A, K, V>, Comparator<A>, JdbmBase<K, V>, Serializer<A>) - Static method in class jdbm.helper.SecondaryKeyHelper
 
secondaryTreeMap(String, SecondaryKeyExtractor<A, K, V>, Comparator<A>) - Method in interface jdbm.PrimaryMap
 
secondaryTreeMap(String, SecondaryKeyExtractor<A, K, V>) - Method in interface jdbm.PrimaryMap
 
secondaryTreeMap(String, SecondaryKeyExtractor<A, K, V>, Comparator<A>, Serializer<A>) - Method in interface jdbm.PrimaryMap
 
secondaryTreeMap(String, SecondaryKeyExtractor<A, K, V>, Serializer<A>) - Method in interface jdbm.PrimaryMap
 
SecondaryTreeMap<A,K,V> - Interface in jdbm
Secondary TreeMap.
secondaryTreeMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, Comparator<A>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryTreeMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryTreeMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, Comparator<A>, Serializer<A>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryTreeMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, Serializer<A>) - Method in class jdbm.helper.AbstractPrimaryMap
 
secondaryTreeMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, Comparator<A>) - Method in interface jdbm.PrimaryMap
 
secondaryTreeMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>) - Method in interface jdbm.PrimaryMap
 
secondaryTreeMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, Comparator<A>, Serializer<A>) - Method in interface jdbm.PrimaryMap
 
secondaryTreeMapManyToOne(String, SecondaryKeyExtractor<Iterable<A>, K, V>, Serializer<A>) - Method in interface jdbm.PrimaryMap
 
Serialization - Class in jdbm.helper
Serialization util.
Serialization() - Constructor for class jdbm.helper.Serialization
 
serialize(SerializerOutput, BPage<K, V>) - Method in class jdbm.btree.BPage
Serialize the content of an object into a byte array.
serialize(SerializerOutput, Object) - Method in class jdbm.helper.DefaultSerializer
Serialize the content of an object into a byte array.
serialize(Object) - Static method in class jdbm.helper.Serialization
Serialize the object into a byte array.
serialize(SerializerOutput, A) - Method in interface jdbm.Serializer
Serialize the content of an object into a byte array.
Serializer<A> - Interface in jdbm
Interface used to provide a serialization mechanism other than a class' normal serialization.
SerializerInput - Class in jdbm
Input for Serializer
SerializerInput(InputStream) - Constructor for class jdbm.SerializerInput
 
SerializerOutput - Class in jdbm
Output for Serializer
SerializerOutput(OutputStream) - Constructor for class jdbm.SerializerOutput
 
setAppendToEnd(boolean) - Method in class jdbm.recman.BaseRecordManager
if true, new records alwayes saved to end of file and free space is not reclaimed.
setCompress(boolean) - Method in class jdbm.recman.BaseRecordManager
Enable or disable compression of blocks with Deflate algorithm
setKey(K) - Method in class jdbm.helper.Tuple
Set the key.
setKeySerializer(Serializer<K>) - Method in class jdbm.btree.BTree
 
setMaximumTransactionsInLog(int) - Method in class jdbm.recman.TransactionManager
Set the maximum number of transactions to record in the log (and keep in memory) before the log is synchronized with the main database file.
setNamedObject(String, long) - Method in class jdbm.recman.BaseRecordManager
 
setNamedObject(String, long) - Method in class jdbm.recman.CacheRecordManager
 
setNamedObject(String, long) - Method in interface jdbm.RecordManager
Set the record id of a named object.
setRoot(int, long) - Method in class jdbm.recman.BaseRecordManager
 
setValue(V) - Method in class jdbm.helper.Tuple
Set the value.
setValueSerializer(Serializer<V>) - Method in class jdbm.btree.BTree
 
setView(BlockView) - Method in class jdbm.recman.BlockIo
Sets the current view of the block.
SHORT_0 - Static variable in class jdbm.helper.Serialization
 
SHORT_1 - Static variable in class jdbm.helper.Serialization
 
SHORT_255 - Static variable in class jdbm.helper.Serialization
 
SHORT_FULL - Static variable in class jdbm.helper.Serialization
 
SHORT_MINUS_1 - Static variable in class jdbm.helper.Serialization
 
size() - Method in class jdbm.btree.BTree
Return the number of entries (size) of the BTree.
size() - Method in class jdbm.helper.LongHashMap
Returns the number of elements in this map.
size() - Method in class jdbm.helper.PrimaryStoreMapImpl
 
STORE_VERSION_NUMBER_ROOT - Static variable in class jdbm.recman.BaseRecordManager
Reserved slot for version number
storeMap(String, Serializer<V>) - Method in class jdbm.helper.RecordManagerImpl
 
storeMap(String) - Method in class jdbm.helper.RecordManagerImpl
 
storeMap(String, Serializer<V>) - Method in interface jdbm.RecordManager
Creates or load existing StoreMap which persists data into DB.
storeMap(String) - Method in interface jdbm.RecordManager
Creates or load existing Primary StoreMap which persists data into DB.
STOREREFERENCE - Static variable in class jdbm.helper.Serialization
 
StoreReference<E> - Class in jdbm.helper
 
StoreReference(RecordManager, E, Serializer<E>) - Constructor for class jdbm.helper.StoreReference
Public constructor which takes value and RecordManager
StoreReference(RecordManager, E) - Constructor for class jdbm.helper.StoreReference
 
STRING - Static variable in class jdbm.helper.Serialization
 
STRING_255 - Static variable in class jdbm.helper.Serialization
 
STRING_EMPTY - Static variable in class jdbm.helper.Serialization
 
subMap(K, K) - Method in class jdbm.btree.BTreeSortedMap
 
synchronizeLog() - Method in class jdbm.recman.TransactionManager
Synchronize log file data with the main database file.

T

tailMap(K) - Method in class jdbm.btree.BTreeSortedMap
 
THREAD_SAFE - Static variable in class jdbm.RecordManagerOptions
Option to create a thread-safe record manager.
toString() - Method in class jdbm.recman.BlockIo
 
TransactionManager - Class in jdbm.recman
This class manages the transaction log that belongs to every RecordFile.
TransactionManager.BlockIoComparator - Class in jdbm.recman
INNER CLASS.
TransactionManager.BlockIoComparator() - Constructor for class jdbm.recman.TransactionManager.BlockIoComparator
 
translateIterable(JdbmBase<K, V>, Iterable<K>) - Static method in class jdbm.helper.SecondaryKeyHelper
 
treeMap(String) - Method in class jdbm.helper.RecordManagerImpl
 
treeMap(String, Serializer<V>) - Method in class jdbm.helper.RecordManagerImpl
 
treeMap(String, Serializer<V>, Serializer<K>) - Method in class jdbm.helper.RecordManagerImpl
 
treeMap(String, Comparator<K>) - Method in class jdbm.helper.RecordManagerImpl
 
treeMap(String, Comparator<K>, Serializer<V>) - Method in class jdbm.helper.RecordManagerImpl
 
treeMap(String, Comparator<K>, Serializer<V>, Serializer<K>) - Method in class jdbm.helper.RecordManagerImpl
 
TREEMAP - Static variable in class jdbm.helper.Serialization
 
treeMap(String) - Method in interface jdbm.RecordManager
Creates or load existing Primary TreeMap which persists data into DB.
treeMap(String, Serializer<V>) - Method in interface jdbm.RecordManager
Creates or load existing TreeMap which persists data into DB.
treeMap(String, Serializer<V>, Serializer<K>) - Method in interface jdbm.RecordManager
Creates or load existing TreeMap which persists data into DB.
treeMap(String, Comparator<K>) - Method in interface jdbm.RecordManager
Creates or load existing TreeMap which persists data into DB.
treeMap(String, Comparator<K>, Serializer<V>) - Method in interface jdbm.RecordManager
Creates or load existing TreeMap which persists data into DB.
treeMap(String, Comparator<K>, Serializer<V>, Serializer<K>) - Method in interface jdbm.RecordManager
Creates or load existing TreeMap which persists data into DB.
TREEMAP_255 - Static variable in class jdbm.helper.Serialization
 
TREESET - Static variable in class jdbm.helper.Serialization
 
TREESET_255 - Static variable in class jdbm.helper.Serialization
 
Tuple<K,V> - Class in jdbm.helper
Tuple consisting of a key-value pair.
Tuple() - Constructor for class jdbm.helper.Tuple
Construct an empty Tuple.
Tuple(K, V) - Constructor for class jdbm.helper.Tuple
Construct a Tuple.
TupleBrowser<K,V> - Interface in jdbm.helper
Browser to traverse a collection of tuples.

U

unpackInt(DataInput) - Static method in class jdbm.helper.LongPacker
 
unpackLong(DataInput) - Static method in class jdbm.helper.LongPacker
Unpack a long value from the input stream.
update(long, Object) - Method in class jdbm.helper.RecordManagerImpl
 
update(long, A, Serializer<A>) - Method in class jdbm.recman.BaseRecordManager
 
update(long, A, Serializer<A>) - Method in class jdbm.recman.CacheRecordManager
 
update(long, Object) - Method in interface jdbm.RecordManager
Updates a record using standard java object serialization.
update(long, A, Serializer<A>) - Method in interface jdbm.RecordManager
Updates a record using a custom serializer.

V

values() - Method in class jdbm.htree.HTree
Returns an enumeration of the values contained in this
valuesIterator() - Method in class jdbm.helper.LongHashMap
 
VECTOR - Static variable in class jdbm.helper.Serialization
 
VECTOR_255 - Static variable in class jdbm.helper.Serialization
 

W

writeByte(int, byte) - Method in class jdbm.recman.BlockIo
Writes a byte to the indicated position
writeByteArray(SerializerOutput, byte[]) - Static method in class jdbm.btree.BPage
 
writeExternal(ObjectOutput) - Method in class jdbm.btree.BTree
Implement Externalizable interface.
writeExternal(DataOutputStream) - Method in class jdbm.recman.BlockIo
 
writeInt(int, int) - Method in class jdbm.recman.BlockIo
Writes an int to the indicated position
writeLong(int, long) - Method in class jdbm.recman.BlockIo
Writes a long to the indicated position
writeObject(DataOutputStream, Object) - Static method in class jdbm.helper.Serialization
 
writeObject(Object) - Method in class jdbm.SerializerOutput
 
writePackedInt(int) - Method in class jdbm.SerializerOutput
 
writePackedLong(long) - Method in class jdbm.SerializerOutput
 
writeShort(int, short) - Method in class jdbm.recman.BlockIo
Writes a short to the indicated position
writeSixByteLong(int, long) - Method in class jdbm.recman.BlockIo
Writes a long to the indicated position
writeThreeByteInt(int, int) - Method in class jdbm.recman.BlockIo
Writes an int to the indicated position
writeUnsignedShort(int, int) - Method in class jdbm.recman.BlockIo
 

_

__resetWrittenCounter() - Method in class jdbm.SerializerOutput
Reset counter inside DataOutputStream.

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

Cees de Groot (C) 2000. All rights reserved http://jdbm.sourceforge.net