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

java.lang.Object
  extended by org.apache.hadoop.io.MapFile.Writer
      extended by org.apache.hadoop.hbase.migration.nineteen.io.HBaseMapFile.HBaseWriter
          extended by org.apache.hadoop.hbase.migration.nineteen.io.BloomFilterMapFile.Writer
All Implemented Interfaces:
Closeable
Enclosing class:
BloomFilterMapFile

public static class BloomFilterMapFile.Writer
extends HBaseMapFile.HBaseWriter


Constructor Summary
BloomFilterMapFile.Writer(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, String dirName, org.apache.hadoop.io.SequenceFile.CompressionType compression, boolean filter, int nrows, HRegionInfo hri)
           
 
Method Summary
 void append(org.apache.hadoop.io.WritableComparable key, org.apache.hadoop.io.Writable val)
           
 void close()
           
 
Methods inherited from class org.apache.hadoop.io.MapFile.Writer
getIndexInterval, setIndexInterval, setIndexInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BloomFilterMapFile.Writer

public BloomFilterMapFile.Writer(org.apache.hadoop.conf.Configuration conf,
                                 org.apache.hadoop.fs.FileSystem fs,
                                 String dirName,
                                 org.apache.hadoop.io.SequenceFile.CompressionType compression,
                                 boolean filter,
                                 int nrows,
                                 HRegionInfo hri)
                          throws IOException
Parameters:
conf -
fs -
dirName -
compression -
filter -
nrows -
hri -
Throws:
IOException
Method Detail

append

public void append(org.apache.hadoop.io.WritableComparable key,
                   org.apache.hadoop.io.Writable val)
            throws IOException
Overrides:
append in class org.apache.hadoop.io.MapFile.Writer
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class org.apache.hadoop.io.MapFile.Writer
Throws:
IOException


Copyright © 2010 The Apache Software Foundation