@InterfaceAudience.Private @InterfaceStability.Evolving public class InnerStoreCellComparator extends CellComparatorImpl
Modifier and Type | Field and Description |
---|---|
static InnerStoreCellComparator |
INNER_STORE_COMPARATOR |
private static long |
serialVersionUID |
COMPARATOR
Constructor and Description |
---|
InnerStoreCellComparator() |
Modifier and Type | Method and Description |
---|---|
protected int |
compareFamilies(ByteBufferKeyValue left,
int leftFamilyPosition,
int leftFamilyLength,
ByteBufferKeyValue right,
int rightFamilyPosition,
int rightFamilyLength)
This method will be overridden when we compare cells inner store to bypass family comparing.
|
protected int |
compareFamilies(Cell left,
int leftFamilyLength,
Cell right,
int rightFamilyLength)
This method will be overridden when we compare cells inner store to bypass family comparing.
|
protected int |
compareFamilies(KeyValue left,
int leftFamilyPosition,
int leftFamilyLength,
ByteBufferKeyValue right,
int rightFamilyPosition,
int rightFamilyLength)
This method will be overridden when we compare cells inner store to bypass family comparing.
|
protected int |
compareFamilies(KeyValue left,
int leftFamilyPosition,
int leftFamilyLength,
KeyValue right,
int rightFamilyPosition,
int rightFamilyLength)
This method will be overridden when we compare cells inner store to bypass family comparing.
|
static CellComparator |
getInnerStoreCellComparator(byte[] tableName)
Utility method that makes a guess at comparator to use based off passed tableName.
|
static CellComparator |
getInnerStoreCellComparator(TableName tableName)
Utility method that makes a guess at comparator to use based off passed tableName.
|
compare, compare, compareColumns, compareFamilies, compareQualifiers, compareQualifiers, compareQualifiers, compareQualifiers, compareQualifiers, compareRows, compareRows, compareRows, compareTimestamps, compareTimestamps, compareWithoutRow, getCellComparator, getCellComparator, getSimpleComparator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareRows, compareRows, getInstance
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
private static final long serialVersionUID
public static final InnerStoreCellComparator INNER_STORE_COMPARATOR
public InnerStoreCellComparator()
protected int compareFamilies(Cell left, int leftFamilyLength, Cell right, int rightFamilyLength)
CellComparatorImpl
compareFamilies
in class CellComparatorImpl
protected int compareFamilies(KeyValue left, int leftFamilyPosition, int leftFamilyLength, KeyValue right, int rightFamilyPosition, int rightFamilyLength)
CellComparatorImpl
compareFamilies
in class CellComparatorImpl
protected int compareFamilies(ByteBufferKeyValue left, int leftFamilyPosition, int leftFamilyLength, ByteBufferKeyValue right, int rightFamilyPosition, int rightFamilyLength)
CellComparatorImpl
compareFamilies
in class CellComparatorImpl
protected int compareFamilies(KeyValue left, int leftFamilyPosition, int leftFamilyLength, ByteBufferKeyValue right, int rightFamilyPosition, int rightFamilyLength)
CellComparatorImpl
compareFamilies
in class CellComparatorImpl
public static CellComparator getInnerStoreCellComparator(TableName tableName)
tableName
passed.public static CellComparator getInnerStoreCellComparator(byte[] tableName)
tableName
passed.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.