Uses of Class com.sleepycat.persist.SecondaryIndex (Oracle - Berkeley DB Java API)
Date: 2017-04-13

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

- Packages that use SecondaryIndex
  Package | Description
  --- | ---
  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 SecondaryIndex in com.sleepycat.persist

    Methods in com.sleepycat.persist that return SecondaryIndex
    Modifier and Type | Method and Description
    --- | ---
    `<SK,PK,E> SecondaryIndex<SK,PK,E>` | EntityStore.`getSecondaryIndex(PrimaryIndex<PK,E> primaryIndex, java.lang.Class<SK> keyClass, java.lang.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, java.lang.Class<E2> entitySubclass, java.lang.Class<SK> keyClass, java.lang.String keyName)` Returns a secondary index for a secondary key in an entity subclass, opening it if necessary.

    Methods in com.sleepycat.persist with parameters of type SecondaryIndex
    Modifier and Type | Method and Description
    --- | ---
    `<SK> void` | EntityJoin.`addCondition(SecondaryIndex<SK,PK,E> index, SK key)` Adds a secondary key condition to the equality join.

  - ### Uses of SecondaryIndex in com.sleepycat.persist.raw

    Methods in com.sleepycat.persist.raw that return SecondaryIndex
    Modifier and Type | Method and Description
    --- | ---
    `SecondaryIndex<java.lang.Object,java.lang.Object,RawObject>` | RawStore.`getSecondaryIndex(java.lang.String entityClass, java.lang.String keyName)` Opens the secondary index for a given entity class and secondary key name.

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