Package | Description |
---|---|
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 | Class | Description |
---|---|---|
class |
SecondaryConfig |
The configuration properties of a
SecondaryDatabase extend
those of a primary Database . |
Modifier and Type | Field | Description |
---|---|---|
static DatabaseConfig |
DatabaseConfig.DEFAULT |
An instance created using the default constructor is initialized
with the system's default settings.
|
Modifier and Type | Method | Description |
---|---|---|
DatabaseConfig |
DatabaseConfig.cloneConfig() |
Returns a copy of this configuration object.
|
DatabaseConfig |
Database.getConfig() |
Return this Database object's configuration.
|
DatabaseConfig |
SecondaryDatabase.getConfig() |
Return this Database object's configuration.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
Database.convert(java.lang.String fileName,
boolean useBigEndian,
DatabaseConfig config) |
Convert the byte order of all the databases included in the specified file.
|
Database |
Environment.openDatabase(Transaction txn,
java.lang.String fileName,
java.lang.String databaseName,
DatabaseConfig config) |
Open a database.
|
static void |
Database.remove(java.lang.String fileName,
java.lang.String databaseName,
DatabaseConfig config) |
Remove the database specified by the file and database parameters.
|
static void |
Database.rename(java.lang.String fileName,
java.lang.String oldDatabaseName,
java.lang.String newDatabaseName,
DatabaseConfig config) |
Rename a database specified by the file and database parameters.
|
void |
Database.setConfig(DatabaseConfig config) |
Change the settings in an existing database handle.
|
static void |
Database.upgrade(java.lang.String fileName,
DatabaseConfig config) |
Upgrade all of the databases included in the specified file.
|
static boolean |
Database.verify(java.lang.String fileName,
java.lang.String databaseName,
java.io.PrintStream dumpStream,
VerifyConfig verifyConfig,
DatabaseConfig dbConfig) |
Return if all of the databases in a file are uncorrupted.
|
Constructor | Description |
---|---|
Database(java.lang.String filename,
java.lang.String databaseName,
DatabaseConfig config) |
Open a database.
|
Modifier and Type | Method | Description |
---|---|---|
DatabaseConfig |
EntityStore.getPrimaryConfig(java.lang.Class entityClass) |
Returns the default primary database Berkeley DB engine API
configuration for an entity class.
|
Modifier and Type | Method | Description |
---|---|---|
void |
EntityStore.setPrimaryConfig(java.lang.Class entityClass,
DatabaseConfig config) |
Configures the primary database for an entity class using the Berkeley
DB engine API.
|
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.