Package | Description |
---|---|
com.sleepycat.client | |
com.sleepycat.client.persist |
The Direct Persistence Layer (DPL) adds a persistent object model to the
Berkeley DB transactional engine.
|
Modifier and Type | Method and Description |
---|---|
SSecondaryConfig |
SSecondaryConfig.cloneConfig() |
SSecondaryConfig |
SSecondaryDatabase.getSecondaryConfig()
Returns a copy of the secondary configuration of this database.
|
SSecondaryConfig |
SSecondaryConfig.setAllowPopulate(boolean allowPopulate)
Specifies whether automatic population of the secondary is allowed.
|
SSecondaryConfig |
SSecondaryConfig.setForeignKeyDatabase(SDatabase foreignDb)
Define a foreign key integrity constraint for a given foreign key
database.
|
SSecondaryConfig |
SSecondaryConfig.setForeignKeyDeleteAction(SForeignKeyDeleteAction action)
Specify the action taken when a referenced record in the foreign key
database is deleted.
|
SSecondaryConfig |
SSecondaryConfig.setImmutableSecondaryKey(boolean immutableSecondaryKey)
Specify whether the secondary key is immutable.
|
SSecondaryConfig |
SSecondaryConfig.setKeyCreator(SSecondaryKeyCreator keyCreator)
Specify the user-supplied object used for creating single-valued
secondary keys.
|
Modifier and Type | Method and Description |
---|---|
SSecondaryDatabase |
SEnvironment.openSecondaryDatabase(STransaction txn,
java.lang.String fileName,
java.lang.String databaseName,
SDatabase primaryDatabase,
SSecondaryConfig config)
Open a secondary database.
|
Modifier and Type | Method and Description |
---|---|
SSecondaryConfig |
EntityStore.getSecondaryConfig(java.lang.Class entityClass,
java.lang.String keyName)
Returns the default secondary database Berkeley DB engine API
configuration for an entity class and key name.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityStore.setSecondaryConfig(java.lang.Class entityClass,
java.lang.String keyName,
SSecondaryConfig config)
Configures a secondary database for an entity class and key name using
the Berkeley DB engine API.
|
Copyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.