|
Berkeley DB version 4.2.52 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Db | |
com.sleepycat.bdb | Core database classes for defining an environment, creating data stores, and running transactions [reference guide] |
com.sleepycat.bdb.factory | Factory classes |
com.sleepycat.db | Java API programming notes [reference guide] |
Uses of Db in com.sleepycat.bdb |
Methods in com.sleepycat.bdb that return Db | |
Db |
DataDb.getDb()
Returns the underlying database. |
Constructors in com.sleepycat.bdb with parameters of type Db | |
ForeignKeyIndex(DataStore store,
Db db,
KeyExtractor keyExtractor,
DataStore foreignStore,
int deleteAction)
Creates a foreign key index from a previously opened Db object. |
|
DataStore(Db db,
DataFormat keyFormat,
DataFormat valueFormat,
PrimaryKeyAssigner keyAssigner)
Creates a store from a previously opened Db object. |
|
DataIndex(DataStore store,
Db db,
DataFormat keyFormat,
KeyExtractor keyExtractor)
Creates an index from a previously opened Db object. |
|
DataDb(Db db)
Creates a database wrapper. |
Uses of Db in com.sleepycat.bdb.factory |
Methods in com.sleepycat.bdb.factory with parameters of type Db | |
DataStore |
TupleSerialDbFactory.newDataStore(Db db,
Class baseClass,
PrimaryKeyAssigner keyAssigner)
Creates a store from a previously opened Db object. |
DataIndex |
TupleSerialDbFactory.newDataIndex(DataStore store,
Db db,
String keyName,
boolean usePrimaryKey,
boolean useValue)
Creates an index from a previously opened Db object. |
ForeignKeyIndex |
TupleSerialDbFactory.newForeignKeyIndex(DataStore store,
Db db,
String keyName,
boolean usePrimaryKey,
boolean useValue,
DataStore foreignStore,
int deleteAction)
Creates a foreign key index from a previously opened Db object. |
Uses of Db in com.sleepycat.db |
Methods in com.sleepycat.db with parameters of type Db | |
int |
DbSecondaryKeyCreate.secondaryKeyCreate(Db secondary,
Dbt key,
Dbt data,
Dbt result)
The secondaryKeyCreate interface is used by the Db.associate method. |
int |
DbHash.hash(Db db,
byte[] data,
int len)
The DbHash interface is used by the Db.setHash method. |
void |
DbFeedbackHandler.feedback(Db db,
int opcode,
int percent)
The DbFeedbackHandler interface is used by the Db.setFeedback method. |
void |
DbFeedback.feedback(Db db,
int opcode,
int percent)
Deprecated. As of Berkeley DB 4.2, replaced by DbFeedbackHandler.feedback(Db,int,int) |
int |
DbDupCompare.compareDuplicates(Db db,
Dbt dbt1,
Dbt dbt2)
The DbDupCompare interface is used by the Db.setDuplicatelicateCompare method. |
int |
DbBtreePrefix.prefix(Db db,
Dbt dbt1,
Dbt dbt2)
The DbBtreePrefix interface is used by the Db.setBtreePrefix method. |
int |
DbBtreeCompare.compare(Db db,
Dbt dbt1,
Dbt dbt2)
The DbBtreeCompare interface is used by the Db.setBtreeCompare method. |
void |
DbAppendRecno.dbAppendRecno(Db db,
Dbt data,
int recno)
The DbAppendRecno interface is used by the Db.setAppendRecno method. |
void |
Db.associate(DbTxn txnid,
Db secondary,
DbSecondaryKeyCreate callback,
int flags)
|
|
Berkeley DB version 4.2.52 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |