@InterfaceAudience.Private public class RowBloomContext extends BloomContext
bloomFilterWriter, comparator| 构造器和说明 |
|---|
RowBloomContext(BloomFilterWriter bloomFilterWriter,
CellComparator comparator) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addLastBloomKey(HFile.Writer writer)
Adds the last bloom key to the HFile Writer as part of StorefileWriter close.
|
protected boolean |
isNewKey(Cell cell)
Returns true if the cell is a new key as per the bloom type
|
getLastCell, writeBloompublic RowBloomContext(BloomFilterWriter bloomFilterWriter, CellComparator comparator)
public void addLastBloomKey(HFile.Writer writer) throws IOException
BloomContextaddLastBloomKey 在类中 BloomContextIOExceptionprotected boolean isNewKey(Cell cell)
BloomContextisNewKey 在类中 BloomContextcell - the cell to be verifiedCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.