Berkeley DB Reference Guide: Index - Indices and foreign keys
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

### Berkeley DB Reference Guide: Java API Tutorial - Index |

### Index - Indices and foreign keys

In the Basic example, each store has a single primary key. The Index example extends the Basic example to add the use of secondary keys and foreign keys. The example program illustrates:

- Opening secondary key indices
- Opening foreign key indices
- Creating indexed collections
- Retrieving items by index key

The complete source of the final version of the example program is included in the Berkeley DB distribution.

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.