|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.persist.impl.PersistComparator
public class PersistComparator
The btree comparator for persistent key classes. The serialized form of this comparator is stored in the BDB JE database descriptor so that the comparator can be re-created during recovery.
Constructor Summary | |
---|---|
PersistComparator(java.lang.String keyClassName,
java.util.List<FieldMetadata> compositeKeyFields,
PersistKeyBinding binding)
|
Method Summary | |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public PersistComparator(java.lang.String keyClassName, java.util.List<FieldMetadata> compositeKeyFields, PersistKeyBinding binding)
Method Detail |
---|
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface java.util.Comparator<java.lang.Object>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |