private static class ReversedKeyValueHeap.ReversedKVScannerComparator extends KeyValueHeap.KVScannerComparator
kvComparator
Constructor and Description |
---|
ReversedKVScannerComparator(CellComparator kvComparator)
Constructor n
|
Modifier and Type | Method and Description |
---|---|
int |
compare(KeyValueScanner left,
KeyValueScanner right) |
int |
compareRows(Cell left,
Cell right)
Compares rows of two KeyValue nn * @return less than 0 if left is smaller, 0 if equal etc..
|
compare, getComparator
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 ReversedKVScannerComparator(CellComparator kvComparator)
public int compare(KeyValueScanner left, KeyValueScanner right)
compare
in interface Comparator<KeyValueScanner>
compare
in class KeyValueHeap.KVScannerComparator
public int compareRows(Cell left, Cell right)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.