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

java.lang.Object
  extended by org.apache.hadoop.hbase.io.MapFile.Writer
      extended by org.apache.hadoop.hbase.io.HBaseMapFile.HBaseWriter
          extended by org.apache.hadoop.hbase.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, 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)
          Append a key/value pair to the map.
 void close()
          Close the map.
 
Methods inherited from class org.apache.hadoop.hbase.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,
                                 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
Description copied from class: MapFile.Writer
Append a key/value pair to the map. The key must be greater or equal to the previous key added to the map.

Overrides:
append in class MapFile.Writer
Throws:
IOException

close

public void close()
           throws IOException
Description copied from class: MapFile.Writer
Close the map.

Specified by:
close in interface Closeable
Overrides:
close in class MapFile.Writer
Throws:
IOException


Copyright © 2008 The Apache Software Foundation