|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hbase.cell.CellComparator
@InterfaceAudience.Private @InterfaceStability.Evolving public class CellComparator
Compare two traditional HBase cells. Note: This comparator is not valid for -ROOT- and .META. tables.
| Constructor Summary | |
|---|---|
CellComparator()
|
|
| Method Summary | |
|---|---|
static boolean |
areKeyLengthsEqual(Cell a,
Cell b)
lengths |
static boolean |
areRowLengthsEqual(Cell a,
Cell b)
|
int |
compare(Cell a,
Cell b)
|
static int |
compareStatic(Cell a,
Cell b)
|
static boolean |
equals(Cell a,
Cell b)
equals |
static boolean |
equalsIgnoreMvccVersion(Cell a,
Cell b)
special case for KeyValue.equals |
static boolean |
equalsRow(Cell a,
Cell b)
|
static int |
hashCode(Cell cell)
Returns a hash code that is always the same for two Cells having a matching equals(..) result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public CellComparator()
| Method Detail |
|---|
public int compare(Cell a,
Cell b)
compare in interface Comparator<Cell>
public static int compareStatic(Cell a,
Cell b)
public static boolean equals(Cell a,
Cell b)
public static boolean equalsRow(Cell a,
Cell b)
public static int hashCode(Cell cell)
public static boolean areKeyLengthsEqual(Cell a,
Cell b)
public static boolean areRowLengthsEqual(Cell a,
Cell b)
public static boolean equalsIgnoreMvccVersion(Cell a,
Cell b)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||