| 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 | |
| com.sleepycat.persist | 
 The Direct Persistence Layer (DPL) adds a persistent object model to the
Berkeley DB transactional engine. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
SerialSerialKeyCreator.createSecondaryKey(SecondaryDatabase db,
                  DatabaseEntry primaryKeyEntry,
                  DatabaseEntry dataEntry,
                  DatabaseEntry indexKeyEntry)  | 
boolean | 
TupleSerialKeyCreator.createSecondaryKey(SecondaryDatabase db,
                  DatabaseEntry primaryKeyEntry,
                  DatabaseEntry dataEntry,
                  DatabaseEntry indexKeyEntry)  | 
boolean | 
SerialSerialKeyCreator.nullifyForeignKey(SecondaryDatabase db,
                 DatabaseEntry dataEntry)  | 
boolean | 
TupleSerialKeyCreator.nullifyForeignKey(SecondaryDatabase db,
                 DatabaseEntry dataEntry)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
TupleTupleKeyCreator.createSecondaryKey(SecondaryDatabase db,
                  DatabaseEntry primaryKeyEntry,
                  DatabaseEntry dataEntry,
                  DatabaseEntry indexKeyEntry)  | 
boolean | 
TupleTupleKeyCreator.nullifyForeignKey(SecondaryDatabase db,
                 DatabaseEntry dataEntry)  | 
| 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. 
 | 
| 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SecondaryDatabase | 
SecondaryIndex.getDatabase()
Returns the underlying secondary database for this index. 
 | 
| 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, 2019 Oracle and/or its affiliates. All rights reserved.