org.apache.hadoop.hbase.migration.nineteen.io
Class BloomFilterMapFile.Reader
java.lang.Object
org.apache.hadoop.io.MapFile.Reader
org.apache.hadoop.hbase.migration.nineteen.io.HBaseMapFile.HBaseReader
org.apache.hadoop.hbase.migration.nineteen.io.BloomFilterMapFile.Reader
- All Implemented Interfaces:
- Closeable
- Direct Known Subclasses:
- HalfMapFileReader
- Enclosing class:
- BloomFilterMapFile
public static class BloomFilterMapFile.Reader
- extends HBaseMapFile.HBaseReader
Method Summary |
org.apache.hadoop.io.Writable |
get(org.apache.hadoop.io.WritableComparable key,
org.apache.hadoop.io.Writable val)
|
int |
getBloomFilterSize()
|
org.apache.hadoop.io.WritableComparable |
getClosest(org.apache.hadoop.io.WritableComparable key,
org.apache.hadoop.io.Writable val)
|
Methods inherited from class org.apache.hadoop.io.MapFile.Reader |
close, createDataFileReader, finalKey, getClosest, getKeyClass, getValueClass, midKey, next, open, reset, seek |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BloomFilterMapFile.Reader
public BloomFilterMapFile.Reader(org.apache.hadoop.fs.FileSystem fs,
String dirName,
org.apache.hadoop.conf.Configuration conf,
boolean filter,
boolean blockCacheEnabled,
HRegionInfo hri)
throws IOException
- Parameters:
fs
- dirName
- conf
- filter
- blockCacheEnabled
- hri
-
- Throws:
IOException
get
public org.apache.hadoop.io.Writable get(org.apache.hadoop.io.WritableComparable key,
org.apache.hadoop.io.Writable val)
throws IOException
- Overrides:
get
in class org.apache.hadoop.io.MapFile.Reader
- Throws:
IOException
getClosest
public org.apache.hadoop.io.WritableComparable getClosest(org.apache.hadoop.io.WritableComparable key,
org.apache.hadoop.io.Writable val)
throws IOException
- Overrides:
getClosest
in class org.apache.hadoop.io.MapFile.Reader
- Throws:
IOException
getBloomFilterSize
public int getBloomFilterSize()
- Returns:
- size of the bloom filter
Copyright © 2009 The Apache Software Foundation