Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

com::sleepycat::collections::PrimaryKeyAssigner Interface Reference

Inheritance diagram for com::sleepycat::collections::PrimaryKeyAssigner:

com::sleepycat::collections::test::TestKeyAssigner

Public Member Functions

void assignKey (DatabaseEntry keyData) throws DatabaseException

Detailed Description

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. Key assignment occurs when StoredMap.append() is called.

Author:
Mark Hayes

Definition at line 23 of file PrimaryKeyAssigner.java.


Member Function Documentation

void com::sleepycat::collections::PrimaryKeyAssigner::assignKey DatabaseEntry  keyData  )  throws DatabaseException
 

Assigns a new primary key value into the given data buffer.

Implemented in com::sleepycat::collections::test::TestKeyAssigner.

Referenced by com::sleepycat::collections::DataView::append().


The documentation for this interface was generated from the following file:
Generated on Sun Dec 25 12:15:00 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2