程序包 | 说明 |
---|---|
org.apache.hadoop.hbase | |
org.apache.hadoop.hbase.io.encoding | |
org.apache.hadoop.hbase.util |
限定符和类型 | 类和说明 |
---|---|
class |
CellComparatorImpl
Compare two HBase cells.
|
static class |
CellComparatorImpl.MetaCellComparator
|
限定符和类型 | 方法和说明 |
---|---|
static CellComparator |
CellComparator.getInstance()
A comparator for ordering cells in user-space tables.
|
限定符和类型 | 方法和说明 |
---|---|
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)
已过时。
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.
|
限定符和类型 | 字段和说明 |
---|---|
protected CellComparator |
AbstractDataBlockEncoder.AbstractEncodedSeeker.comparator |
构造器和说明 |
---|
AbstractEncodedSeeker(CellComparator comparator,
HFileBlockDecodingContext decodingCtx) |
RowIndexSeekerV1(CellComparator comparator,
HFileBlockDecodingContext decodingCtx) |
限定符和类型 | 方法和说明 |
---|---|
static int |
Bytes.binarySearch(Cell[] arr,
Cell key,
CellComparator comparator)
Binary search for keys in indexes.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.