|
Berkeley DB version 4.2.52 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface specifying a comparison function, which specifies the number of bytes needed to differentiate Btree keys.
Method Summary | |
int |
prefix(Db db,
Dbt dbt1,
Dbt dbt2)
The DbBtreePrefix interface is used by the Db.setBtreePrefix method. |
Method Detail |
public int prefix(Db db, Dbt dbt1, Dbt dbt2)
db
- the enclosing database handle.dbt1
- a Dbt
representing a database key.dbt2
- a Dbt
representing a database key.
Dbt
are the only fields that may be used for the purposes of this determination, and no particular alignment of the memory to which the data field refers may be assumed.
|
Berkeley DB version 4.2.52 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |