@InterfaceAudience.Private public class RowColBloomContext extends BloomContext
bloomFilterWriter, comparator| Constructor and Description |
|---|
RowColBloomContext(BloomFilterWriter generalBloomFilterWriter,
CellComparator comparator) |
| Modifier and Type | Method and Description |
|---|---|
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 RowColBloomContext(BloomFilterWriter generalBloomFilterWriter, CellComparator comparator)
public void addLastBloomKey(HFile.Writer writer) throws IOException
BloomContextaddLastBloomKey in class BloomContextIOExceptionprotected boolean isNewKey(Cell cell)
BloomContextisNewKey in class BloomContextcell - the cell to be verifiedCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.