public static class KeyValue.RawBytesComparator extends KeyValue.KVComparator
Constructor and Description |
---|
RawBytesComparator() |
Modifier and Type | Method and Description |
---|---|
byte[] |
calcIndexKey(byte[] lastKeyOfPreviousBlock,
byte[] firstKeyInBlock) |
int |
compare(Cell left,
Cell right)
Compares the Key of a cell -- with fields being more significant in this order:
rowkey, colfam/qual, timestamp, type, mvcc
|
int |
compareFlatKey(byte[] left,
int loffset,
int llength,
byte[] right,
int roffset,
int rlength)
Deprecated.
Since 0.99.2.
|
int |
compareOnlyKeyPortion(Cell left,
Cell right) |
String |
getLegacyKeyComparatorName()
The HFileV2 file format's trailer contains this class name.
|
clone, compare, compareColumns, compareColumns, compareFamilies, compareFlatKey, compareIgnoringPrefix, compareKey, compareRowKey, compareRows, compareRows, compareTimestamps, getShortMidpointKey, matchingRowColumn, matchingRows, matchingRows
public String getLegacyKeyComparatorName()
getLegacyKeyComparatorName
in class KeyValue.KVComparator
@Deprecated public int compareFlatKey(byte[] left, int loffset, int llength, byte[] right, int roffset, int rlength)
KeyValue.KVComparator
compareFlatKey
in class KeyValue.KVComparator
public int compare(Cell left, Cell right)
KeyValue.KVComparator
compare
in class KeyValue.KVComparator
public int compareOnlyKeyPortion(Cell left, Cell right)
compareOnlyKeyPortion
in class KeyValue.KVComparator
public byte[] calcIndexKey(byte[] lastKeyOfPreviousBlock, byte[] firstKeyInBlock)
calcIndexKey
in class KeyValue.KVComparator