@InterfaceAudience.Private public class CompoundBloomFilterBase extends Object implements BloomFilterBase
| 限定符和类型 | 字段和说明 |
|---|---|
protected KeyValue.KVComparator |
comparator
Comparator used to compare Bloom filter keys
|
protected float |
errorRate
Target error rate for configuring the filter and for information
|
protected int |
hashType
Hash function type to use, as defined in
Hash |
protected int |
numChunks
At read time, the total number of chunks.
|
protected long |
totalByteSize |
protected long |
totalKeyCount
The total number of keys in all chunks
|
protected long |
totalMaxKeys |
static int |
VERSION
The Bloom filter version.
|
| 构造器和说明 |
|---|
CompoundBloomFilterBase() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
createBloomKey(byte[] row,
int roffset,
int rlength,
byte[] qualifier,
int qoffset,
int qlength)
Prepare an ordered pair of row and qualifier to be compared using
KeyValue.KeyComparator.
|
long |
getByteSize() |
KeyValue.KVComparator |
getComparator() |
long |
getKeyCount() |
long |
getMaxKeys() |
protected int numChunks
public static final int VERSION
protected float errorRate
protected long totalKeyCount
protected long totalByteSize
protected long totalMaxKeys
protected int hashType
Hashprotected KeyValue.KVComparator comparator
public long getMaxKeys()
getMaxKeys 在接口中 BloomFilterBasepublic long getKeyCount()
getKeyCount 在接口中 BloomFilterBasepublic long getByteSize()
getByteSize 在接口中 BloomFilterBasepublic byte[] createBloomKey(byte[] row,
int roffset,
int rlength,
byte[] qualifier,
int qoffset,
int qlength)
createBloomKey 在接口中 BloomFilterBasepublic KeyValue.KVComparator getComparator()
getComparator 在接口中 BloomFilterBaseCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.