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, matchingRows
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public String getLegacyKeyComparatorName()
getLegacyKeyComparatorName
in class KeyValue.KVComparator
public int compareFlatKey(byte[] left, int loffset, int llength, byte[] right, int roffset, int rlength)
KeyValue.KVComparator
compareFlatKey
in class KeyValue.KVComparator
public byte[] calcIndexKey(byte[] lastKeyOfPreviousBlock, byte[] firstKeyInBlock)
calcIndexKey
in class KeyValue.KVComparator
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.