|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.KeyValue.KVComparator
org.apache.hadoop.hbase.KeyValue.MetaComparator
public static class KeyValue.MetaComparator
A KeyValue.KVComparator for hbase:meta catalog table
KeyValues.
| Constructor Summary | |
|---|---|
KeyValue.MetaComparator()
|
|
| Method Summary | |
|---|---|
protected Object |
clone()
|
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)
Compare key portion of a KeyValue for keys in hbase:meta
table. |
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. |
| Methods inherited from class org.apache.hadoop.hbase.KeyValue.KVComparator |
|---|
calcIndexKey, compare, compare, compareColumns, compareFlatKey, compareFlatKey, compareIgnoringPrefix, compareRows, compareTimestamps, matchingRowColumn, matchingRows |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public KeyValue.MetaComparator()
| Method Detail |
|---|
public int compareRows(byte[] left,
int loffset,
int llength,
byte[] right,
int roffset,
int rlength)
KeyValue for keys in hbase:meta
table.
compareRows in class KeyValue.KVComparator
public byte[] getShortMidpointKey(byte[] leftKey,
byte[] rightKey)
getShortMidpointKey in class KeyValue.KVComparatorpublic String getLegacyKeyComparatorName()
getLegacyKeyComparatorName in class KeyValue.KVComparator
protected Object clone()
throws CloneNotSupportedException
clone in class KeyValue.KVComparatorCloneNotSupportedException
protected int compareRowKey(Cell l,
Cell r)
compareRowKey in class KeyValue.KVComparator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||