@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, writeBloom
public RowColBloomContext(BloomFilterWriter generalBloomFilterWriter, CellComparator comparator)
public void addLastBloomKey(HFile.Writer writer) throws IOException
BloomContext
addLastBloomKey
in class BloomContext
IOException
protected boolean isNewKey(Cell cell)
BloomContext
isNewKey
in class BloomContext
cell
- the cell to be verifiedCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.