###

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.