Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.6.21
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].

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
`StoredMap` | `TupleSerialFactory.newMap(Database db, Class keyClass, Class valueBaseClass, boolean writeAllowed)` Creates a map from a previously opened Database object.
`StoredSortedMap` | `TupleSerialFactory.newSortedMap(Database db, Class keyClass, Class 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 keyBinding, boolean writeAllowed)` Creates a key set view of a `Database`.
`StoredList(Database database, EntityBinding valueEntityBinding, boolean writeAllowed)` Creates a list entity view of a `Database`.
`StoredList(Database database, EntityBinding valueEntityBinding, PrimaryKeyAssigner keyAssigner)` Creates a list entity view of a `Database` with a `PrimaryKeyAssigner`.
`StoredList(Database database, EntryBinding valueBinding, boolean writeAllowed)` Creates a list view of a `Database`.
`StoredList(Database database, EntryBinding valueBinding, PrimaryKeyAssigner keyAssigner)` Creates a list view of a `Database` with a `PrimaryKeyAssigner`.
`StoredMap(Database database, EntryBinding keyBinding, EntityBinding valueEntityBinding, boolean writeAllowed)` Creates a map entity view of a `Database`.
`StoredMap(Database database, EntryBinding keyBinding, EntityBinding valueEntityBinding, PrimaryKeyAssigner keyAssigner)` Creates a map entity view of a `Database` with a `PrimaryKeyAssigner`.
`StoredMap(Database database, EntryBinding keyBinding, EntryBinding valueBinding, boolean writeAllowed)` Creates a map view of a `Database`.
`StoredMap(Database database, EntryBinding keyBinding, EntryBinding valueBinding, PrimaryKeyAssigner keyAssigner)` Creates a map view of a `Database` with a `PrimaryKeyAssigner`.
`StoredSortedKeySet(Database database, EntryBinding keyBinding, boolean writeAllowed)` Creates a sorted key set view of a `Database`.
`StoredSortedMap(Database database, EntryBinding keyBinding, EntityBinding valueEntityBinding, boolean writeAllowed)` Creates a sorted map entity view of a `Database`.
`StoredSortedMap(Database database, EntryBinding keyBinding, EntityBinding valueEntityBinding, PrimaryKeyAssigner keyAssigner)` Creates a sorted map entity view of a `Database` with a `PrimaryKeyAssigner`.
`StoredSortedMap(Database database, EntryBinding keyBinding, EntryBinding valueBinding, boolean writeAllowed)` Creates a sorted map view of a `Database`.
`StoredSortedMap(Database database, EntryBinding keyBinding, EntryBinding valueBinding, PrimaryKeyAssigner keyAssigner)` Creates a sorted map view of a `Database` with a `PrimaryKeyAssigner`.
`StoredSortedValueSet(Database database, EntityBinding valueEntityBinding, boolean writeAllowed)` Creates a sorted value set entity view of a `Database`.
`StoredValueSet(Database database, EntityBinding valueEntityBinding, boolean writeAllowed)` Creates a value set entity view of a `Database`.
`StoredValueSet(Database database, EntryBinding 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.
`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` | `BtreePrefixCalculator.prefix(Database db, DatabaseEntry dbt1, DatabaseEntry dbt2)` The application-specific Btree prefix callback.
`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
`SecondaryDatabase(String fileName, String databaseName, Database primaryDatabase, SecondaryConfig config)` Open a database.

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

Copyright (c) 1996,2007 Oracle. All rights reserved.