Uses of Class com.sleepycat.db.SecondaryDatabase (Oracle - Berkeley DB Java API)
Date: 2015-06-18

## Uses of Class
com.sleepycat.db.SecondaryDatabase

- Packages that use SecondaryDatabase
  Package | Description
  --- | ---
  com.sleepycat.bind.serial | Bindings that use Java serialization.
  com.sleepycat.bind.tuple | Bindings that use sequences of primitive fields, or tuples.
  com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].
  com.sleepycat.persist | The Direct Persistence Layer (DPL) adds a persistent object model to the Berkeley DB transactional engine.

- - ### Uses of SecondaryDatabase in com.sleepycat.bind.serial

    Methods in com.sleepycat.bind.serial with parameters of type SecondaryDatabase
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TupleSerialKeyCreator.`createSecondaryKey(SecondaryDatabase db, DatabaseEntry primaryKeyEntry, DatabaseEntry dataEntry, DatabaseEntry indexKeyEntry)`
    `boolean` | SerialSerialKeyCreator.`createSecondaryKey(SecondaryDatabase db, DatabaseEntry primaryKeyEntry, DatabaseEntry dataEntry, DatabaseEntry indexKeyEntry)`
    `boolean` | TupleSerialKeyCreator.`nullifyForeignKey(SecondaryDatabase db, DatabaseEntry dataEntry)`
    `boolean` | SerialSerialKeyCreator.`nullifyForeignKey(SecondaryDatabase db, DatabaseEntry dataEntry)`

  - ### Uses of SecondaryDatabase in com.sleepycat.bind.tuple

    Methods in com.sleepycat.bind.tuple with parameters of type SecondaryDatabase
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | TupleTupleKeyCreator.`createSecondaryKey(SecondaryDatabase db, DatabaseEntry primaryKeyEntry, DatabaseEntry dataEntry, DatabaseEntry indexKeyEntry)`
    `boolean` | TupleTupleKeyCreator.`nullifyForeignKey(SecondaryDatabase db, DatabaseEntry dataEntry)`

  - ### Uses of SecondaryDatabase in com.sleepycat.db

    Methods in com.sleepycat.db that return SecondaryDatabase
    Modifier and Type | Method and Description
    --- | ---
    `SecondaryDatabase` | SecondaryCursor.`getSecondaryDatabase()` Return the SecondaryDatabase handle associated with this Cursor.
    `SecondaryDatabase` | Environment.`openSecondaryDatabase(Transaction txn, java.lang.String fileName, java.lang.String databaseName, Database primaryDatabase, SecondaryConfig config)` Open a database.

    Methods in com.sleepycat.db with parameters of type SecondaryDatabase
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | SecondaryKeyCreator.`createSecondaryKey(SecondaryDatabase secondary, DatabaseEntry key, DatabaseEntry data, DatabaseEntry result)` Creates a secondary key entry, given a primary key and data entry.
    `void` | SecondaryMultiKeyCreator.`createSecondaryKeys(SecondaryDatabase secondary, DatabaseEntry key, DatabaseEntry data, java.util.Set results)` Creates a secondary key entry, given a primary key and data entry.
    `boolean` | ForeignKeyNullifier.`nullifyForeignKey(SecondaryDatabase secondary, DatabaseEntry data)` Sets the foreign key reference to null in the datum of the primary database.
    `boolean` | ForeignMultiKeyNullifier.`nullifyForeignKey(SecondaryDatabase secondary, DatabaseEntry key, DatabaseEntry data, DatabaseEntry secKey)` Sets the foreign key reference to null in the datum of the primary database.

  - ### Uses of SecondaryDatabase in com.sleepycat.persist

    Methods in com.sleepycat.persist that return SecondaryDatabase
    Modifier and Type | Method and Description
    --- | ---
    `SecondaryDatabase` | SecondaryIndex.`getDatabase()` Returns the underlying secondary database for this index.

    Constructors in com.sleepycat.persist with parameters of type SecondaryDatabase
    Constructor and Description
    `SecondaryIndex(SecondaryDatabase database, Database keysDatabase, PrimaryIndex<PK,E> primaryIndex, java.lang.Class<SK> secondaryKeyClass, EntryBinding<SK> secondaryKeyBinding)` Creates a secondary index without using an `EntityStore`.

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