org.apache.hadoop.hbase.migration.nineteen.io
Class BloomFilterMapFile
java.lang.Object
org.apache.hadoop.io.MapFile
org.apache.hadoop.hbase.migration.nineteen.io.HBaseMapFile
org.apache.hadoop.hbase.migration.nineteen.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.
| Fields inherited from class org.apache.hadoop.io.MapFile |
DATA_FILE_NAME, INDEX_FILE_NAME |
|
Method Summary |
protected static Key |
getBloomFilterKey(org.apache.hadoop.io.WritableComparable key)
Custom bloom filter key maker. |
| Methods inherited from class org.apache.hadoop.io.MapFile |
delete, fix, main, rename |
| 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 Key getBloomFilterKey(org.apache.hadoop.io.WritableComparable key)
- Custom bloom filter key maker.
- Parameters:
key -
- Returns:
- Key made of bytes of row only.
Copyright © 2009 The Apache Software Foundation