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
ConstructorsConstructorDescriptionRowColBloomContext(BloomFilterWriter generalBloomFilterWriter, CellComparator comparator) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLastBloomKey(HFile.Writer writer) Adds the last bloom key to the HFile Writer as part of StorefileWriter close.protected booleanisNewKey(ExtendedCell cell) 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:BloomContextAdds the last bloom key to the HFile Writer as part of StorefileWriter close.- Specified by:
addLastBloomKeyin classBloomContext- Throws:
IOException
-
isNewKey
Description copied from class:BloomContextReturns true if the cell is a new key as per the bloom type- Specified by:
isNewKeyin classBloomContext- Parameters:
cell- the cell to be verified- Returns:
- true if a new key else false
-