public class RowKeyComparator extends Object implements Comparator<RowKey>
RowKey instances.
Delegates the comparing to a ByteRowKeyComparator.| Modifier and Type | Method and Description |
|---|---|
int |
compare(RowKey key1,
RowKey key2) |
static RowKeyComparator |
create(List<SortColumn> keyColumns) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic static RowKeyComparator create(List<SortColumn> keyColumns)
public int compare(RowKey key1, RowKey key2)
compare in interface Comparator<RowKey>public boolean equals(Object o)
equals in interface Comparator<RowKey>equals in class ObjectCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.