org.apache.hadoop.hbase.migration.nineteen.io
Class HBaseMapFile.HBaseReader

java.lang.Object
  extended by org.apache.hadoop.io.MapFile.Reader
      extended by org.apache.hadoop.hbase.migration.nineteen.io.HBaseMapFile.HBaseReader
All Implemented Interfaces:
Closeable
Direct Known Subclasses:
BloomFilterMapFile.Reader
Enclosing class:
HBaseMapFile

public static class HBaseMapFile.HBaseReader
extends org.apache.hadoop.io.MapFile.Reader

A reader capable of reading and caching blocks of the data file.


Constructor Summary
HBaseMapFile.HBaseReader(org.apache.hadoop.fs.FileSystem fs, String dirName, org.apache.hadoop.conf.Configuration conf, boolean blockCacheEnabled, HRegionInfo hri)
           
HBaseMapFile.HBaseReader(org.apache.hadoop.fs.FileSystem fs, String dirName, org.apache.hadoop.conf.Configuration conf, HRegionInfo hri)
           
 
Method Summary
 
Methods inherited from class org.apache.hadoop.io.MapFile.Reader
close, createDataFileReader, finalKey, get, getClosest, 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
 

Constructor Detail

HBaseMapFile.HBaseReader

public HBaseMapFile.HBaseReader(org.apache.hadoop.fs.FileSystem fs,
                                String dirName,
                                org.apache.hadoop.conf.Configuration conf,
                                HRegionInfo hri)
                         throws IOException
Parameters:
fs -
dirName -
conf -
hri -
Throws:
IOException

HBaseMapFile.HBaseReader

public HBaseMapFile.HBaseReader(org.apache.hadoop.fs.FileSystem fs,
                                String dirName,
                                org.apache.hadoop.conf.Configuration conf,
                                boolean blockCacheEnabled,
                                HRegionInfo hri)
                         throws IOException
Parameters:
fs -
dirName -
conf -
blockCacheEnabled -
hri -
Throws:
IOException


Copyright © 2010 The Apache Software Foundation