|
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 imposes a total ordering on the duplicate data items in a Btree database.
Method Summary | |
int |
compareDuplicates(Db db,
Dbt dbt1,
Dbt dbt2)
The DbDupCompare interface is used by the Db.setDuplicatelicateCompare method. |
Method Detail |
public int compareDuplicates(Db db, Dbt dbt1, Dbt dbt2)
db
- the enclosing database handle.dbt1
- a Dbt
representing the application supplied data item.dbt2
- a Dbt
representing the current tree's data item.
Dbt
are the only fields that may be used for the purposes of this comparison, 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 |