public class InternalUserComparator extends Object implements UserComparator
Constructor and Description |
---|
InternalUserComparator(InternalKeyComparator internalKeyComparator) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Slice left,
Slice right) |
Slice |
findShortestSeparator(Slice start,
Slice limit) |
Slice |
findShortSuccessor(Slice key) |
String |
name() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public InternalUserComparator(InternalKeyComparator internalKeyComparator)
public int compare(Slice left, Slice right)
compare
in interface Comparator<Slice>
public String name()
name
in interface UserComparator
public Slice findShortestSeparator(Slice start, Slice limit)
findShortestSeparator
in interface UserComparator
public Slice findShortSuccessor(Slice key)
findShortSuccessor
in interface UserComparator
Copyright © 2011–2019. All rights reserved.