- All Implemented Interfaces:
- java.util.Comparator<byte[]>
- Enclosing class:
- DupKeyData
public static class DupKeyData.NextNoDupComparator
extends java.lang.Object
implements java.util.Comparator<byte[]>
Used to perform the getNextNoDup operation.
Compares the left parameter (the key parameter in a user-initiated
search operation) as:
- less than a right operand with a prefix with is less than the
prefix of the left operand. This is standard.
- greater than a right operand with a prefix with is greater than the
prefix of the left operand. This is standard.
- greater than a right operand with a prefix equal to the prefix of
the left operation. This is non-standard.
The last property causes the range search to find the first duplicate in
the duplicate set following the duplicate set of the left operand.