Package com.sleepycat.collections

Data access based on the standard Java collections API.

See:
          Description

Interface Summary
PrimaryKeyAssigner An interface implemented to assign new primary key values.
TransactionWorker The interface implemented to perform the work within a transaction.
 

Class Summary
CurrentTransaction Provides access to the current transaction for the current thread within the context of a Berkeley DB environment.
CurrentTransaction.CdbCursors  
DataCursor Represents a Berkeley DB cursor and adds support for indices, bindings and key ranges.
DataView Represents a Berkeley DB database and adds support for indices, bindings and key ranges.
KeyRange Encapsulates a key range for use with a RangeCursor.
MapEntryParameter A simple Map.Entry implementation that can be used as in input parameter.
RangeCursor A cursor-like interface that enforces a key range.
StoredCollection A abstract base class for all stored collections.
StoredCollections This class consists exclusively of static methods that operate on or return stored collections and maps, jointly called containers.
StoredContainer A abstract base class for all stored collections and maps.
StoredEntrySet The Set returned by Map.entrySet().
StoredIterator The Iterator returned by all stored collections.
StoredKeySet The Set returned by Map.keySet() and which can also be constructed directly if a Map is not needed.
StoredList A List view of a Database.
StoredMap A Map view of a Database.
StoredMapEntry  
StoredSortedEntrySet The SortedSet returned by Map.entrySet().
StoredSortedKeySet The SortedSet returned by Map.keySet() and which can also be constructed directly if a Map is not needed.
StoredSortedMap A SortedMap view of a Database.
StoredSortedValueSet The SortedSet returned by Map.values() and which can also be constructed directly if a Map is not needed.
StoredValueSet The Set returned by Map.values() and Map.duplicates(), and which can also be constructed directly if a Map is not needed.
TransactionRunner Starts a transaction, calls TransactionWorker.doWork(), and handles transaction retry and exceptions.
TupleSerialFactory Creates stored collections having tuple keys and serialized entity values.
 

Exception Summary
KeyRangeException An exception thrown when a key is out of range.
 

Package com.sleepycat.collections Description

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.



Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.