org.apache.hadoop.hbase.io
Class BloomFilterMapFile
java.lang.Object
org.apache.hadoop.hbase.io.MapFile
org.apache.hadoop.hbase.io.HBaseMapFile
org.apache.hadoop.hbase.io.BloomFilterMapFile
public class BloomFilterMapFile
- extends HBaseMapFile
On write, all keys are added to a bloom filter. On read, all keys are
tested first against bloom filter. Keys are HStoreKey. If passed bloom
filter is null, just passes invocation to parent.
Method Summary |
protected static org.onelab.filter.Key |
getBloomFilterKey(org.apache.hadoop.io.WritableComparable key)
Custom bloom filter key maker. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLOOMFILTER_FILE_NAME
protected static final String BLOOMFILTER_FILE_NAME
- See Also:
- Constant Field Values
BloomFilterMapFile
public BloomFilterMapFile()
getBloomFilterKey
protected static org.onelab.filter.Key getBloomFilterKey(org.apache.hadoop.io.WritableComparable key)
- Custom bloom filter key maker.
- Parameters:
key
-
- Returns:
- Key made of bytes of row only.
Copyright © 2008 The Apache Software Foundation