Package | Description |
---|---|
com.sleepycat.bind.serial |
Bindings that use Java serialization.
|
com.sleepycat.collections |
Data access based on the standard Java collections API.
|
com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
com.sleepycat.je.jca.ra |
Support for the Java Connector Architecture, which provides a standard
for connecting the J2EE platform to legacy enterprise information
systems (EIS), such as ERP systems, database systems, and legacy
applications not written in Java.
|
com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
com.sleepycat.persist |
The Direct Persistence Layer (DPL) adds a persistent object model to the
Berkeley DB transactional engine.
|
Constructor and Description |
---|
StoredClassCatalog(Database database)
Creates a catalog based on a given database.
|
Modifier and Type | Method and Description |
---|---|
<K,V extends MarshalledTupleKeyEntity> |
TupleSerialFactory.newMap(Database db,
Class<K> keyClass,
Class<V> valueBaseClass,
boolean writeAllowed)
Creates a map from a previously opened Database object.
|
<K,V extends MarshalledTupleKeyEntity> |
TupleSerialFactory.newSortedMap(Database db,
Class<K> keyClass,
Class<V> valueBaseClass,
boolean writeAllowed)
Creates a sorted map from a previously opened Database object.
|
Constructor and Description |
---|
StoredKeySet(Database database,
EntryBinding<K> keyBinding,
boolean writeAllowed)
Creates a key set view of a
Database . |
StoredList(Database database,
EntityBinding<E> valueEntityBinding,
boolean writeAllowed)
Creates a list entity view of a
Database . |
StoredList(Database database,
EntityBinding<E> valueEntityBinding,
PrimaryKeyAssigner keyAssigner)
Creates a list entity view of a
Database with a PrimaryKeyAssigner . |
StoredList(Database database,
EntryBinding<E> valueBinding,
boolean writeAllowed)
Creates a list view of a
Database . |
StoredList(Database database,
EntryBinding<E> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a list view of a
Database with a PrimaryKeyAssigner . |
StoredMap(Database database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
boolean writeAllowed)
Creates a map entity view of a
Database . |
StoredMap(Database database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
PrimaryKeyAssigner keyAssigner)
Creates a map entity view of a
Database with a PrimaryKeyAssigner . |
StoredMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
boolean writeAllowed)
Creates a map view of a
Database . |
StoredMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a map view of a
Database with a PrimaryKeyAssigner . |
StoredSortedKeySet(Database database,
EntryBinding<K> keyBinding,
boolean writeAllowed)
Creates a sorted key set view of a
Database . |
StoredSortedMap(Database database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
boolean writeAllowed)
Creates a sorted map entity view of a
Database . |
StoredSortedMap(Database database,
EntryBinding<K> keyBinding,
EntityBinding<V> valueEntityBinding,
PrimaryKeyAssigner keyAssigner)
Creates a sorted map entity view of a
Database with a PrimaryKeyAssigner . |
StoredSortedMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
boolean writeAllowed)
Creates a sorted map view of a
Database . |
StoredSortedMap(Database database,
EntryBinding<K> keyBinding,
EntryBinding<V> valueBinding,
PrimaryKeyAssigner keyAssigner)
Creates a sorted map view of a
Database with a PrimaryKeyAssigner . |
StoredSortedValueSet(Database database,
EntityBinding<E> valueEntityBinding,
boolean writeAllowed)
Creates a sorted value set entity view of a
Database . |
StoredValueSet(Database database,
EntityBinding<E> valueEntityBinding,
boolean writeAllowed)
Creates a value set entity view of a
Database . |
StoredValueSet(Database database,
EntryBinding<E> valueBinding,
boolean writeAllowed)
Creates a value set view of a
Database . |
Modifier and Type | Class and Description |
---|---|
class |
SecondaryDatabase
A secondary database handle.
|
Modifier and Type | Method and Description |
---|---|
Database |
ForwardCursor.getDatabase()
Returns the Database handle associated with this ForwardCursor.
|
Database |
JoinCursor.getDatabase()
Returns the primary database handle associated with this cursor.
|
Database |
Cursor.getDatabase()
Returns the Database handle associated with this Cursor.
|
Database |
Sequence.getDatabase()
Returns the Database handle associated with this sequence.
|
Database |
DiskOrderedCursor.getDatabase()
Returns the Database handle associated with this Cursor.
|
Database |
SecondaryConfig.getForeignKeyDatabase()
Returns the database used to check the foreign key integrity constraint,
or null if no foreign key constraint will be checked.
|
Database |
SecondaryAssociation.getPrimary(DatabaseEntry primaryKey)
Returns the primary database for the given primary key.
|
Database |
SecondaryDatabase.getPrimaryDatabase()
Returns the primary database associated with this secondary database.
|
Database |
SecondaryCursor.getPrimaryDatabase()
Returns the primary
Database
associated with this cursor. |
Database |
Environment.openDatabase(Transaction txn,
String databaseName,
DatabaseConfig dbConfig)
Opens, and optionally creates, a
Database . |
static Database |
DbInternal.openInternalDatabase(Environment env,
Transaction txn,
String databaseName,
DatabaseConfig config) |
Modifier and Type | Method and Description |
---|---|
static com.sleepycat.je.dbi.DatabaseImpl |
DbInternal.getDatabaseImpl(Database db)
Proxy to Database.getDatabaseImpl()
|
static void |
DbInternal.invalidate(Database db)
Proxy to Database.invalidate()
|
SecondaryDatabase |
Environment.openSecondaryDatabase(Transaction txn,
String databaseName,
Database primaryDatabase,
SecondaryConfig dbConfig)
Opens and optionally creates a
SecondaryDatabase . |
PreloadStats |
Environment.preload(Database[] databases,
PreloadConfig config)
Preloads the cache with multiple databases.
|
SecondaryConfig |
SecondaryConfig.setForeignKeyDatabase(Database foreignKeyDatabase)
Defines a foreign key integrity constraint for a given foreign key
database.
|
void |
SecondaryConfig.setForeignKeyDatabaseVoid(Database foreignKeyDatabase) |
static void |
DbInternal.setPreempted(Database db,
String dbName,
String msg)
Proxy to Database.setPreempted()
|
Modifier and Type | Method and Description |
---|---|
Database |
JEConnection.openDatabase(String name,
DatabaseConfig config) |
Modifier and Type | Method and Description |
---|---|
SecondaryDatabase |
JEConnection.openSecondaryDatabase(String name,
Database primaryDatabase,
SecondaryConfig config) |
Modifier and Type | Method and Description |
---|---|
Database |
DatabasePreemptedException.getDatabase()
Returns the database handle that was forcibly closed.
|
Constructor and Description |
---|
DatabasePreemptedException(String message,
String dbName,
Database dbHandle)
For internal use only.
|
Modifier and Type | Method and Description |
---|---|
Database |
EntityIndex.getDatabase()
Returns the underlying database for this index.
|
Database |
SecondaryIndex.getKeysDatabase()
Returns the underlying secondary database that is not associated with
the primary database and is used for the
SecondaryIndex.keysIndex . |
Constructor and Description |
---|
PrimaryIndex(Database database,
Class<PK> keyClass,
EntryBinding<PK> keyBinding,
Class<E> entityClass,
EntityBinding<E> entityBinding)
Creates a primary index without using an
EntityStore . |
SecondaryIndex(SecondaryDatabase database,
Database keysDatabase,
PrimaryIndex<PK,E> primaryIndex,
Class<SK> secondaryKeyClass,
EntryBinding<SK> secondaryKeyBinding)
Creates a secondary index without using an
EntityStore . |
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.