Package org.apache.hadoop.hbase.util
Class RowColBloomContext
java.lang.Object
org.apache.hadoop.hbase.util.BloomContext
org.apache.hadoop.hbase.util.RowColBloomContext
Handles ROWCOL bloom related context. It can work with both BytebufferdCells and byte[] backed
cells
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.util.BloomContext
bloomFilterWriter, comparator
-
Constructor Summary
ConstructorDescriptionRowColBloomContext
(BloomFilterWriter generalBloomFilterWriter, CellComparator comparator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLastBloomKey
(HFile.Writer writer) Adds the last bloom key to the HFile Writer as part of StorefileWriter close.protected boolean
Returns true if the cell is a new key as per the bloom typeMethods inherited from class org.apache.hadoop.hbase.util.BloomContext
getLastCell, writeBloom
-
Constructor Details
-
RowColBloomContext
-
-
Method Details
-
addLastBloomKey
Description copied from class:BloomContext
Adds the last bloom key to the HFile Writer as part of StorefileWriter close.- Specified by:
addLastBloomKey
in classBloomContext
- Throws:
IOException
-
isNewKey
Description copied from class:BloomContext
Returns true if the cell is a new key as per the bloom type- Specified by:
isNewKey
in classBloomContext
- Parameters:
cell
- the cell to be verified- Returns:
- true if a new key else false
-