Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 6.0.20
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.sleepycat.persist.PrimaryIndex

Packages that use PrimaryIndex
com.sleepycat.persist | The Direct Persistence Layer (DPL) adds a persistent object model to the Berkeley DB transactional engine.
com.sleepycat.persist.raw | Raw data access for general purpose tools and manual conversions.

Uses of PrimaryIndex in com.sleepycat.persist

Methods in com.sleepycat.persist that return PrimaryIndex
`PrimaryIndex<PK,E>` | `SecondaryIndex.getPrimaryIndex()` Returns the primary index associated with this secondary index.
`
`<PK,E> PrimaryIndex<PK,E>`
` | `EntityStore.getPrimaryIndex(Class<PK> primaryKeyClass, Class<E> entityClass)` Returns the primary index for a given entity class, opening it if necessary.

Methods in com.sleepycat.persist with parameters of type PrimaryIndex
`
`<SK,PK,E> SecondaryIndex<SK,PK,E>`
` | `EntityStore.getSecondaryIndex(PrimaryIndex<PK,E> primaryIndex, Class<SK> keyClass, String keyName)` Returns a secondary index for a given primary index and secondary key, opening it if necessary.
`
`<SK,PK,E1,E2 extends E1> SecondaryIndex<SK,PK,E2>`
` | `EntityStore.getSubclassIndex(PrimaryIndex<PK,E1> primaryIndex, Class<E2> entitySubclass, Class<SK> keyClass, String keyName)` Returns a secondary index for a secondary key in an entity subclass, opening it if necessary.

Constructors in com.sleepycat.persist with parameters of type PrimaryIndex
`EntityJoin(PrimaryIndex<PK,E> index)` Creates a join object for a given primary index.
`SecondaryIndex(SecondaryDatabase database, Database keysDatabase, PrimaryIndex<PK,E> primaryIndex, Class<SK> secondaryKeyClass, EntryBinding<SK> secondaryKeyBinding)` Creates a secondary index without using an `EntityStore`.

Uses of PrimaryIndex in com.sleepycat.persist.raw

Methods in com.sleepycat.persist.raw that return PrimaryIndex
`PrimaryIndex<Object,RawObject>` | `RawStore.getPrimaryIndex(String entityClass)` Opens the primary index for a given entity class.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 6.0.20
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.