private static class ReversedKeyValueHeap.ReversedKVScannerComparator extends KeyValueHeap.KVScannerComparator
kvComparator
Constructor and Description |
---|
ReversedKVScannerComparator(CellComparator kvComparator)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compare(KeyValueScanner left,
KeyValueScanner right) |
int |
compareRows(Cell left,
Cell right)
Compares rows of two KeyValue
|
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)
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)
left
- right
- Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.