private static class ReversedKeyValueHeap.ReversedKVScannerComparator extends KeyValueHeap.KVScannerComparator
kvComparator
Constructor and Description |
---|
ReversedKeyValueHeap.ReversedKVScannerComparator(KeyValue.KVComparator 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
equals
public ReversedKeyValueHeap.ReversedKVScannerComparator(KeyValue.KVComparator kvComparator)
kvComparator
- public int compare(KeyValueScanner left, KeyValueScanner right)
compare
in interface Comparator<KeyValueScanner>
compare
in class KeyValueHeap.KVScannerComparator
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.