protected static class KeyValueHeap.KVScannerComparator extends Object implements Comparator<KeyValueScanner>
Modifier and Type | Field and Description |
---|---|
protected KeyValue.KVComparator |
kvComparator |
Constructor and Description |
---|
KeyValueHeap.KVScannerComparator(KeyValue.KVComparator kvComparator)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compare(Cell left,
Cell right)
Compares two KeyValue
|
int |
compare(KeyValueScanner left,
KeyValueScanner right) |
KeyValue.KVComparator |
getComparator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
protected KeyValue.KVComparator kvComparator
public KeyValueHeap.KVScannerComparator(KeyValue.KVComparator kvComparator)
kvComparator
- public int compare(KeyValueScanner left, KeyValueScanner right)
compare
in interface Comparator<KeyValueScanner>
public int compare(Cell left, Cell right)
left
- right
- public KeyValue.KVComparator getComparator()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.