Uses of Class com.sleepycat.db.Database (Oracle - Berkeley DB Java API)
Date: 2014-01-24

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 6.0.30
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.sleepycat.db.Database

Packages that use Database
com.sleepycat.bind.serial | Bindings that use Java serialization.
com.sleepycat.collections | Data access based on the standard Java collections API.
com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].
com.sleepycat.persist | The Direct Persistence Layer (DPL) adds a persistent object model to the Berkeley DB transactional engine.

Uses of Database in com.sleepycat.bind.serial

Constructors in com.sleepycat.bind.serial with parameters of type Database
`StoredClassCatalog(Database database)` Creates a catalog based on a given database.

Uses of Database in com.sleepycat.collections

Methods in com.sleepycat.collections with parameters of type Database
`
`<K,V extends MarshalledTupleKeyEntity> StoredMap<K,V>`
` | `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> StoredSortedMap<K,V>`
` | `TupleSerialFactory.newSortedMap(Database db, Class<K> keyClass, Class<V> valueBaseClass, boolean writeAllowed)` Creates a sorted map from a previously opened Database object.

Constructors in com.sleepycat.collections with parameters of type Database
`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`.

Uses of Database in com.sleepycat.db

Subclasses of Database in com.sleepycat.db
`class` | `SecondaryDatabase` A secondary database handle.

Methods in com.sleepycat.db that return Database
`Database` | `Sequence.getDatabase()` Return the Database handle associated with this sequence.
`Database` | `JoinCursor.getDatabase()` Returns the primary database handle associated with this cursor.
`Database` | `Cursor.getDatabase()` Return the Database handle associated with this Cursor.
`Database` | `SecondaryDatabase.getPrimaryDatabase()` Returns the primary database associated with this secondary database.
`Database` | `Environment.openDatabase(Transaction txn, String fileName, String databaseName, DatabaseConfig config)` Open a database.

Methods in com.sleepycat.db with parameters of type Database
`void` | `RecordNumberAppender.appendRecordNumber(Database db, DatabaseEntry data, int recno)` A callback function to modify the stored database based on the generated key.
`boolean` | `BtreeCompressor.compress(Database db, DatabaseEntry prevKey, DatabaseEntry prevData, DatabaseEntry key, DatabaseEntry data, DatabaseEntry dest)` The application-specific Btree compress callback.
`boolean` | `BtreeCompressor.decompress(Database db, DatabaseEntry prevKey, DatabaseEntry prevData, DatabaseEntry compressed, DatabaseEntry key, DatabaseEntry data)` The application-specific Btree decompress callback.
`int` | `Hasher.hash(Database db, byte[] data, int len)` An application-specified, database-specific hash function.
`SecondaryDatabase` | `Environment.openSecondaryDatabase(Transaction txn, String fileName, String databaseName, Database primaryDatabase, SecondaryConfig config)` Open a database.
`int` | `PartitionHandler.partition(Database db, DatabaseEntry key)` The application-specific database partitioning callback.
`int` | `BtreePrefixCalculator.prefix(Database db, DatabaseEntry dbt1, DatabaseEntry dbt2)` The application-specific Btree prefix callback.
`void` | `SecondaryConfig.setForeignKeyDatabase(Database foreignDb)` Defines a foreign key integrity constraint for a given foreign key database.
`void` | `FeedbackHandler.upgradeFeedback(Database database, int percent)` A function called with progress information when the database is being upgraded.
`void` | `FeedbackHandler.verifyFeedback(Database database, int percent)` A function called with progress information when the database is being verified.

Constructors in com.sleepycat.db with parameters of type Database
`Cursor(Database database, CursorConfig config)`
`SecondaryDatabase(String fileName, String databaseName, Database primaryDatabase, SecondaryConfig config)` Open a database.

Uses of Database in com.sleepycat.persist

Methods in com.sleepycat.persist that return Database
`Database` | `PrimaryIndex.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`.

Constructors in com.sleepycat.persist with parameters of type Database
`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`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 6.0.30
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 1996, 2014 Oracle and/or its affiliates. All rights reserved.