public static class KeyValue.MetaComparator extends KeyValue.KVComparator
| Constructor and Description |
|---|
KeyValue.MetaComparator() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone() |
int |
compare(Cell left,
Cell right)
Compare key portion of a
KeyValue for keys in hbase:meta
table. |
int |
compareOnlyKeyPortion(Cell left,
Cell right) |
protected int |
compareRowKey(Cell l,
Cell r)
Override the row key comparison to parse and compare the meta row key parts.
|
int |
compareRows(byte[] left,
int loffset,
int llength,
byte[] right,
int roffset,
int rlength)
Get the b[],o,l for left and right rowkey portions and compare.
|
String |
getLegacyKeyComparatorName()
The HFileV2 file format's trailer contains this class name.
|
byte[] |
getShortMidpointKey(byte[] leftKey,
byte[] rightKey)
Don't do any fancy Block Index splitting tricks.
|
calcIndexKey, compare, compareColumns, compareColumns, compareFamilies, compareFlatKey, compareFlatKey, compareIgnoringPrefix, compareKey, compareRows, compareTimestamps, matchingRowColumn, matchingRows, matchingRowsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic int compare(Cell left, Cell right)
KeyValue for keys in hbase:meta
table.compare in interface Comparator<Cell>compare in class KeyValue.KVComparatorpublic int compareOnlyKeyPortion(Cell left, Cell right)
compareOnlyKeyPortion in class KeyValue.KVComparatorpublic int compareRows(byte[] left,
int loffset,
int llength,
byte[] right,
int roffset,
int rlength)
KeyValue.KVComparatorcompareRows in class KeyValue.KVComparatorpublic byte[] getShortMidpointKey(byte[] leftKey,
byte[] rightKey)
getShortMidpointKey in class KeyValue.KVComparatorpublic String getLegacyKeyComparatorName()
getLegacyKeyComparatorName in class KeyValue.KVComparatorprotected Object clone() throws CloneNotSupportedException
clone in class KeyValue.KVComparatorCloneNotSupportedExceptionprotected int compareRowKey(Cell l, Cell r)
compareRowKey in class KeyValue.KVComparatorCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.