public static class KeyValue.RawBytesComparator extends KeyValue.KVComparator
构造器和说明 |
---|
KeyValue.RawBytesComparator() |
限定符和类型 | 方法和说明 |
---|---|
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)
已过时。
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, compareRows, compareTimestamps, getShortMidpointKey, matchingRowColumn, matchingRows, matchingRows
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public String getLegacyKeyComparatorName()
getLegacyKeyComparatorName
在类中 KeyValue.KVComparator
@Deprecated public int compareFlatKey(byte[] left, int loffset, int llength, byte[] right, int roffset, int rlength)
KeyValue.KVComparator
compareFlatKey
在类中 KeyValue.KVComparator
public int compare(Cell left, Cell right)
KeyValue.KVComparator
compare
在接口中 Comparator<Cell>
compare
在类中 KeyValue.KVComparator
public byte[] calcIndexKey(byte[] lastKeyOfPreviousBlock, byte[] firstKeyInBlock)
calcIndexKey
在类中 KeyValue.KVComparator
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.