Package | Description |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.io.encoding | |
org.apache.hadoop.hbase.util |
Modifier and Type | Class and Description |
---|---|
class |
CellComparatorImpl
Compare two HBase cells.
|
static class |
CellComparatorImpl.MetaCellComparator
|
Modifier and Type | Method and Description |
---|---|
static CellComparator |
CellComparator.getInstance()
A comparator for ordering cells in user-space tables.
|
Modifier and Type | Method and Description |
---|---|
static int |
PrivateCellUtil.compare(CellComparator comparator,
Cell left,
byte[] key,
int offset,
int length)
Used when a cell needs to be compared with a key byte[] such as cases of finding the index from
the index block, bloom keys from the bloom blocks This byte[] is expected to be serialized in
the KeyValue serialization format If the KeyValue (Cell's) serialization format changes this
method cannot be used.
|
static int |
CellUtil.compare(CellComparator comparator,
Cell left,
byte[] key,
int offset,
int length)
Deprecated.
As of HBase-2.0. Will be removed in HBase-3.0
|
static int |
PrivateCellUtil.compareKeyBasedOnColHint(CellComparator comparator,
Cell nextIndexedCell,
Cell currentCell,
int foff,
int flen,
byte[] colHint,
int coff,
int clen,
long ts,
byte type)
Used to compare two cells based on the column hint provided.
|
static int |
PrivateCellUtil.compareKeyIgnoresMvcc(CellComparator comparator,
Cell left,
Cell right)
Compares only the key portion of a cell.
|
Modifier and Type | Field and Description |
---|---|
protected CellComparator |
AbstractDataBlockEncoder.AbstractEncodedSeeker.comparator |
Constructor and Description |
---|
AbstractEncodedSeeker(CellComparator comparator,
HFileBlockDecodingContext decodingCtx) |
RowIndexSeekerV1(CellComparator comparator,
HFileBlockDecodingContext decodingCtx) |
Modifier and Type | Method and Description |
---|---|
static int |
Bytes.binarySearch(Cell[] arr,
Cell key,
CellComparator comparator)
Binary search for keys in indexes.
|
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.