public class BytewiseComparator extends Object implements UserComparator
Constructor and Description |
---|
BytewiseComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(Slice sliceA,
Slice sliceB) |
Slice |
findShortestSeparator(Slice start,
Slice limit) |
Slice |
findShortSuccessor(Slice key) |
String |
name() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public String name()
name
in interface UserComparator
public int compare(Slice sliceA, Slice sliceB)
compare
in interface Comparator<Slice>
public Slice findShortestSeparator(Slice start, Slice limit)
findShortestSeparator
in interface UserComparator
public Slice findShortSuccessor(Slice key)
findShortSuccessor
in interface UserComparator
Copyright © 2011–2014. All rights reserved.