public static class CellComparator.MetaCellComparator extends CellComparator
CellComparator.MetaCellComparator, CellComparator.RowComparator
COMPARATOR, META_COMPARATOR
Constructor and Description |
---|
MetaCellComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compareRows(Cell left,
byte[] right,
int roffset,
int rlength)
Compares the row part of the cell with a simple plain byte[] like the
stopRow in Scan.
|
int |
compareRows(Cell left,
Cell right)
Compares the rows of the left and right cell.
|
compare, compare, compareColumns, compareFamilies, compareFamily, compareKeyBasedOnColHint, compareKeyIgnoresMvcc, compareQualifier, compareQualifiers, compareQualifiers, compareRow, compareTimestamps, compareTimestamps, compareValue, compareWithoutRow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compareRows(Cell left, Cell right)
CellComparator
compareRows
in class CellComparator
public int compareRows(Cell left, byte[] right, int roffset, int rlength)
CellComparator
CellComparator.META_COMPARATOR
should be usedcompareRows
in class CellComparator
left
- the cell to be comparedright
- the kv serialized byte[] to be compared withroffset
- the offset in the byte[]rlength
- the length in the byte[]Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.