http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ec4814ee/2.1/apidocs/org/apache/hadoop/hbase/KeyValue.KVComparator.html ---------------------------------------------------------------------- diff --git a/2.1/apidocs/org/apache/hadoop/hbase/KeyValue.KVComparator.html b/2.1/apidocs/org/apache/hadoop/hbase/KeyValue.KVComparator.html new file mode 100644 index 0000000..f0b5472 --- /dev/null +++ b/2.1/apidocs/org/apache/hadoop/hbase/KeyValue.KVComparator.html @@ -0,0 +1,882 @@ + + + +
+ + +CellComparatorImpl
. Deprecated for hbase 2.0, remove for hbase 3.0.@Deprecated +public static class KeyValue.KVComparator +extends Object +implements org.apache.hadoop.io.RawComparator<Cell>, KeyValue.SamePrefixComparator<byte[]>+
构造器和说明 | +
---|
KVComparator()
+已过时。
+ |
+
限定符和类型 | +方法和说明 | +
---|---|
byte[] |
+calcIndexKey(byte[] lastKeyOfPreviousBlock,
+ byte[] firstKeyInBlock)
+已过时。
+ |
+
protected Object |
+clone()
+已过时。
+ |
+
int |
+compare(byte[] l,
+ int loff,
+ int llen,
+ byte[] r,
+ int roff,
+ int rlen)
+已过时。
+ |
+
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
+ |
+
protected int |
+compareColumns(byte[] left,
+ int loffset,
+ int lquallength,
+ byte[] right,
+ int roffset,
+ int rquallength)
+已过时。
+ |
+
protected int |
+compareColumns(byte[] left,
+ int loffset,
+ int llength,
+ int lfamilylength,
+ byte[] right,
+ int roffset,
+ int rlength,
+ int rfamilylength)
+已过时。
+ |
+
protected int |
+compareFamilies(byte[] left,
+ int loffset,
+ int lfamilylength,
+ byte[] right,
+ int roffset,
+ int rfamilylength)
+已过时。
+ |
+
int |
+compareFlatKey(byte[] left,
+ byte[] right)
+已过时。
+ |
+
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.
+ |
+
int |
+compareIgnoringPrefix(int commonPrefix,
+ byte[] left,
+ int loffset,
+ int llength,
+ byte[] right,
+ int roffset,
+ int rlength)
+已过时。
+Overridden
+ |
+
int |
+compareKey(Cell cell,
+ byte[] row,
+ int roff,
+ int rlen,
+ byte[] fam,
+ int foff,
+ int flen,
+ byte[] col,
+ int coff,
+ int clen,
+ long ts,
+ byte type)
+已过时。
+ |
+
int |
+compareOnlyKeyPortion(Cell left,
+ Cell right)
+已过时。
+ |
+
protected int |
+compareRowKey(Cell left,
+ Cell right)
+已过时。
+Compares the only the user specified portion of a Key.
+ |
+
int |
+compareRows(byte[] left,
+ int loffset,
+ int llength,
+ byte[] right,
+ int roffset,
+ int rlength)
+已过时。
+Get the b[],o,l for left and right rowkey portions and compare.
+ |
+
int |
+compareRows(Cell left,
+ Cell right)
+已过时。
+ |
+
int |
+compareTimestamps(Cell left,
+ Cell right)
+已过时。
+ |
+
String |
+getLegacyKeyComparatorName()
+已过时。
+The HFileV2 file format's trailer contains this class name.
+ |
+
byte[] |
+getShortMidpointKey(byte[] leftKey,
+ byte[] rightKey)
+已过时。
+
+Since 0.99.2;
+ |
+
boolean |
+matchingRowColumn(Cell left,
+ Cell right)
+已过时。
+Compares the row and column of two keyvalues for equality
+ |
+
boolean |
+matchingRows(byte[] left,
+ int loffset,
+ int llength,
+ byte[] right,
+ int roffset,
+ int rlength)
+已过时。
+Compare rows.
+ |
+
boolean |
+matchingRows(Cell left,
+ Cell right)
+已过时。
+Compares the row of two keyvalues for equality
+ |
+
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong,
equals, naturalOrder, nullsFirst, nullsLast, reversed, rever
seOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public KVComparator()+
public String getLegacyKeyComparatorName()+
public int compare(byte[] l, + int loff, + int llen, + byte[] r, + int roff, + int rlen)+
compare
在接口中 org.apache.hadoop.io.RawComparator<Cell>
protected int compareRowKey(Cell left, + Cell right)+
left
- right
- public int compareFlatKey(byte[] left, + int loffset, + int llength, + byte[] right, + int roffset, + int rlength)+
left
- loffset
- llength
- right
- roffset
- rlength
- public int compareFlatKey(byte[] left, + byte[] right)+
public int compareKey(Cell cell, + byte[] row, + int roff, + int rlen, + byte[] fam, + int foff, + int flen, + byte[] col, + int coff, + int clen, + long ts, + byte type)+
public int compareOnlyKeyPortion(Cell left, + Cell right)+
public int compare(Cell left, + Cell right)+
compare
在接口中 Comparator<Cell>
public int compareTimestamps(Cell left, + Cell right)+
public int compareRows(Cell left, + Cell right)+
left
- right
- public int compareRows(byte[] left, + int loffset, + int llength, + byte[] right, + int roffset, + int rlength)+
left
- loffset
- llength
- right
- roffset
- rlength
- protected int compareColumns(byte[] left, + int loffset, + int llength, + int lfamilylength, + byte[] right, + int roffset, + int rlength, + int rfamilylength)+
public int compareIgnoringPrefix(int commonPrefix, + byte[] left, + int loffset, + int llength, + byte[] right, + int roffset, + int rlength)+
compareIgnoringPrefix
在接口中 KeyValue.SamePrefixComparator<byte[]>
commonPrefix
- left
- loffset
- llength
- right
- roffset
- rlength
- protected int compareFamilies(byte[] left, + int loffset, + int lfamilylength, + byte[] right, + int roffset, + int rfamilylength)+
protected int compareColumns(byte[] left, + int loffset, + int lquallength, + byte[] right, + int roffset, + int rquallength)+
public boolean matchingRowColumn(Cell left, + Cell right)+
left
- right
- public boolean matchingRows(Cell left, + Cell right)+
left
- right
- public boolean matchingRows(byte[] left, + int loffset, + int llength, + byte[] right, + int roffset, + int rlength)+
left
- Left row array.loffset
- Left row offset.llength
- Left row length.right
- Right row array.roffset
- Right row offset.rlength
- Right row length.public byte[] calcIndexKey(byte[] lastKeyOfPreviousBlock, + byte[] firstKeyInBlock)+
@Deprecated +public byte[] getShortMidpointKey(byte[] leftKey, + byte[] rightKey)+
leftKey
- rightKey
- protected Object clone() + throws CloneNotSupportedException+
clone
在类中 Object
CloneNotSupportedException
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.
+ +