com.sleepycat.collections |
Data access based on the standard Java collections API. Examples can be found
in je/examples/collections. Build and run directions are in the installation
notes.
|
Java Source File Name | Type | Comment |
BaseIterator.java | Interface | Common interface for BlockIterator and StoredIterator. |
BlockIterator.java | Class | An iterator that does not need closing because a cursor is not kept open
across method calls. |
CurrentTransaction.java | Class | Provides access to the current transaction for the current thread within the
context of a Berkeley DB environment. |
DataCursor.java | Class | Represents a Berkeley DB cursor and adds support for indices, bindings and
key ranges. |
DataView.java | Class | Represents a Berkeley DB database and adds support for indices, bindings and
key ranges. |
KeyRangeTest.java | Class | |
MapEntryParameter.java | Class | A simple Map.Entry implementation that can be used as in
input parameter. |
MyRangeCursor.java | Class | |
PrimaryKeyAssigner.java | Interface | An interface implemented to assign new primary key values.
An implementation of this interface is passed to the
StoredMap or
StoredSortedMap constructor to assign primary keys for that
store. |
StoredCollection.java | Class | A abstract base class for all stored collections. |
StoredCollections.java | Class | Static methods operating on collections and maps.
This class consists exclusively of static methods that operate on or
return stored collections and maps, jointly called containers. |
StoredContainer.java | Class | A abstract base class for all stored collections and maps. |
StoredEntrySet.java | Class | The Set returned by Map.entrySet(). |
StoredIterator.java | Class | The Iterator returned by all stored collections.
While in general this class conforms to the
Iterator interface,
it is important to note that all iterators for stored collections must be
explicitly closed with
StoredIterator.close() . |
StoredKeySet.java | Class | The Set returned by Map.keySet() and which can also be constructed directly
if a Map is not needed.
Since this collection is a set it only contains one element for each key,
even when duplicates are allowed. |
StoredList.java | Class | A List view of a
Database .
For all stored lists the keys of the underlying Database
must have record number format, and therefore the store or index must be a
RECNO, RECNO-RENUMBER, QUEUE, or BTREE-RECNUM database. |
StoredMap.java | Class | A Map view of a
Database .
In addition to the standard Map methods, this class provides the
following methods for stored maps only. |
StoredMapEntry.java | Class | |
StoredSortedEntrySet.java | Class | The SortedSet returned by Map.entrySet(). |
StoredSortedKeySet.java | Class | The SortedSet returned by Map.keySet() and which can also be constructed
directly if a Map is not needed.
Since this collection is a set it only contains one element for each key,
even when duplicates are allowed. |
StoredSortedMap.java | Class | A SortedMap view of a
Database .
In addition to the standard SortedMap methods, this class provides the
following methods for stored sorted maps only. |
StoredSortedValueSet.java | Class | The SortedSet returned by Map.values() and which can also be constructed
directly if a Map is not needed.
Although this collection is a set it may contain duplicate values. |
StoredValueSet.java | Class | The Set returned by Map.values() and Map.duplicates(), and which can also be
constructed directly if a Map is not needed.
Although this collection is a set it may contain duplicate values. |
TransactionRunner.java | Class | Starts a transaction, calls
TransactionWorker.doWork , and handles
transaction retry and exceptions. |
TransactionWorker.java | Interface | The interface implemented to perform the work within a transaction. |
TupleSerialFactory.java | Class | Creates stored collections having tuple keys and serialized entity values.
The entity classes must implement the java.io.Serializable and
MarshalledTupleKeyEntity interfaces. |