MetaCellComparator.META_COMPARATOR to be used. Deprecated for hbase 2.0,
remove for hbase 3.0.@Deprecated public static class KeyValue.MetaComparator extends KeyValue.KVComparator
| Constructor and Description |
|---|
MetaComparator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected KeyValue.MetaComparator |
clone()
Deprecated.
|
int |
compare(Cell left,
Cell right)
Deprecated.
Compare key portion of a
KeyValue for keys in hbase:meta table. |
int |
compareOnlyKeyPortion(Cell left,
Cell right)
Deprecated.
|
protected int |
compareRowKey(Cell l,
Cell r)
Deprecated.
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)
Deprecated.
Get the b[],o,l for left and right rowkey portions and compare.
|
String |
getLegacyKeyComparatorName()
Deprecated.
The HFileV2 file format's trailer contains this class name.
|
byte[] |
getShortMidpointKey(byte[] leftKey,
byte[] rightKey)
Deprecated.
Don't do any fancy Block Index splitting tricks.
|
calcIndexKey, compare, compareColumns, compareColumns, compareColumns, compareFamilies, compareFlatKey, compareFlatKey, compareIgnoringPrefix, compareKey, compareRows, compareTimestamps, compareTimestamps, matchingRowColumn, matchingRows, matchingRowsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic MetaComparator()
public 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.KVComparatorleft - the left kv serialized byte[] to be compared withloffset - the offset in the left byte[]llength - the length in the left byte[]right - the right kv serialized byte[] to be compared withroffset - the offset in the right byte[]rlength - the length in the right byte[]public byte[] getShortMidpointKey(byte[] leftKey, byte[] rightKey)
getShortMidpointKey in class KeyValue.KVComparatorleftKey - byte array for left KeyrightKey - byte array for right Keypublic String getLegacyKeyComparatorName()
getLegacyKeyComparatorName in class KeyValue.KVComparatorprotected KeyValue.MetaComparator clone() throws CloneNotSupportedException
clone in class KeyValue.KVComparatorCloneNotSupportedExceptionprotected int compareRowKey(Cell l, Cell r)
compareRowKey in class KeyValue.KVComparatorl - left cell to compare row keyr - right cell to compare row keyCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.