public class PersistComparator extends Object implements DatabaseComparator, Comparator<byte[]>, Serializable
| Constructor and Description |
|---|
PersistComparator(PersistKeyBinding binding) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(byte[] b1,
byte[] b2) |
void |
initialize(ClassLoader loader)
In BDB JE this method will be called after the comparator is
deserialized, including during recovery.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic PersistComparator(PersistKeyBinding binding)
public void initialize(ClassLoader loader)
initialize in interface DatabaseComparatorloader - is the environment's ClassLoader property.public int compare(byte[] b1,
byte[] b2)
compare in interface Comparator<byte[]>Copyright © 2024. All rights reserved.