@InterfaceAudience.Private public class RowBloomContext extends BloomContext
bloomFilterWriter, comparator
Constructor and Description |
---|
RowBloomContext(BloomFilterWriter bloomFilterWriter,
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 RowBloomContext(BloomFilterWriter bloomFilterWriter, 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.