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,
java.lang.Class<K> keyClass,
java.lang.Class<V> valueBaseClass,
boolean writeAllowed)
Creates a map from a previously opened Database object.
|
<K,V extends MarshalledTupleKeyEntity> |
TupleSerialFactory.newSortedMap(Database db,
java.lang.Class<K> keyClass,
java.lang.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 . |
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 |
Sequence.getDatabase()
Returns the Database handle associated with this sequence.
|
Database |
DiskOrderedCursor.getDatabase()
Returns the Database handle for the database that contains the
latest record returned by getNext().
|
Database |
JoinCursor.getDatabase()
Returns the primary database handle associated with this cursor.
|
Database |
Cursor.getDatabase()
Returns the Database handle associated with this Cursor.
|
Database |
ForwardCursor.getDatabase()
Returns the Database handle associated with this ForwardCursor.
|
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 |
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,
java.lang.String databaseName,
DatabaseConfig dbConfig)
Opens, and optionally creates, a
Database . |
Modifier and Type | Method and Description |
---|---|
DiskOrderedCursor |
Environment.openDiskOrderedCursor(Database[] databases,
DiskOrderedCursorConfig config)
Create a DiskOrderedCursor to iterate over the records of a given set
of databases.
|
SecondaryDatabase |
Environment.openSecondaryDatabase(Transaction txn,
java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
Database |
JEConnection.openDatabase(java.lang.String name,
DatabaseConfig config) |
Modifier and Type | Method and Description |
---|---|
SecondaryDatabase |
JEConnection.openSecondaryDatabase(java.lang.String name,
Database primaryDatabase,
SecondaryConfig config) |
Modifier and Type | Method and Description |
---|---|
Database |
DatabasePreemptedException.getDatabase()
Returns the database handle that was forcibly closed.
|
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,
java.lang.Class<PK> keyClass,
EntryBinding<PK> keyBinding,
java.lang.Class<E> entityClass,
EntityBinding<E> entityBinding)
Creates a primary index without using an
EntityStore . |
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) 2002, 2017 Oracle and/or its affiliates. All rights reserved.