org.apache.hadoop.hbase.migration.nineteen.io
Class BloomFilterMapFile

java.lang.Object
  extended by org.apache.hadoop.io.MapFile
      extended by org.apache.hadoop.hbase.migration.nineteen.io.HBaseMapFile
          extended by 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.


Nested Class Summary
static class BloomFilterMapFile.Reader
           
static class BloomFilterMapFile.Writer
           
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.migration.nineteen.io.HBaseMapFile
HBaseMapFile.HBaseReader, HBaseMapFile.HBaseWriter
 
Field Summary
protected static String BLOOMFILTER_FILE_NAME
           
 
Fields inherited from class org.apache.hadoop.hbase.migration.nineteen.io.HBaseMapFile
VALUE_CLASS
 
Fields inherited from class org.apache.hadoop.io.MapFile
DATA_FILE_NAME, INDEX_FILE_NAME
 
Constructor Summary
BloomFilterMapFile()
           
 
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
 

Field Detail

BLOOMFILTER_FILE_NAME

protected static final String BLOOMFILTER_FILE_NAME
See Also:
Constant Field Values
Constructor Detail

BloomFilterMapFile

public BloomFilterMapFile()
Method Detail

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