public static class KeyValue.RawBytesComparator extends KeyValue.KVComparator
| Constructor and Description |
|---|
KeyValue.RawBytesComparator() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
calcIndexKey(byte[] lastKeyOfPreviousBlock,
byte[] firstKeyInBlock) |
int |
compareFlatKey(byte[] left,
int loffset,
int llength,
byte[] right,
int roffset,
int rlength)
Compares left to right assuming that left,loffset,llength and right,roffset,rlength are
full KVs laid out in a flat byte[]s.
|
String |
getLegacyKeyComparatorName()
The HFileV2 file format's trailer contains this class name.
|
clone, compare, compare, compareColumns, compareFlatKey, compareIgnoringPrefix, compareRowKey, compareRows, compareRows, compareTimestamps, getShortMidpointKey, matchingRowColumn, matchingRows, matchingRowsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic String getLegacyKeyComparatorName()
getLegacyKeyComparatorName in class KeyValue.KVComparatorpublic int compareFlatKey(byte[] left,
int loffset,
int llength,
byte[] right,
int roffset,
int rlength)
KeyValue.KVComparatorcompareFlatKey in class KeyValue.KVComparatorpublic byte[] calcIndexKey(byte[] lastKeyOfPreviousBlock,
byte[] firstKeyInBlock)
calcIndexKey in class KeyValue.KVComparatorCopyright © 2014 The Apache Software Foundation. All rights reserved.