org.apache.hadoop.io
Class BloomMapFile.Writer

java.lang.Object
  extended by org.apache.hadoop.io.MapFile.Writer
      extended by org.apache.hadoop.io.BloomMapFile.Writer
All Implemented Interfaces:
Closeable
Enclosing class:
BloomMapFile

public static class BloomMapFile.Writer
extends MapFile.Writer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.io.MapFile.Writer
MapFile.Writer.Option
 
Constructor Summary
BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass)
          Deprecated. 
BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class<? extends Writable> valClass, SequenceFile.CompressionType compress, CompressionCodec codec, Progressable progress)
          Deprecated. 
BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress)
          Deprecated. 
BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress, Progressable progress)
          Deprecated. 
BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass)
          Deprecated. 
BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress)
          Deprecated. 
BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, CompressionCodec codec, Progressable progress)
          Deprecated. 
BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, Progressable progress)
          Deprecated. 
BloomMapFile.Writer(Configuration conf, Path dir, SequenceFile.Writer.Option... options)
           
 
Method Summary
 void append(WritableComparable key, Writable val)
          Append a key/value pair to the map.
 void close()
          Close the map.
 
Methods inherited from class org.apache.hadoop.io.MapFile.Writer
comparator, compression, compression, getIndexInterval, keyClass, progressable, setIndexInterval, setIndexInterval, valueClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BloomMapFile.Writer

@Deprecated
public BloomMapFile.Writer(Configuration conf,
                                      FileSystem fs,
                                      String dirName,
                                      Class<? extends WritableComparable> keyClass,
                                      Class<? extends Writable> valClass,
                                      SequenceFile.CompressionType compress,
                                      CompressionCodec codec,
                                      Progressable progress)
                    throws IOException
Deprecated. 

Throws:
IOException

BloomMapFile.Writer

@Deprecated
public BloomMapFile.Writer(Configuration conf,
                                      FileSystem fs,
                                      String dirName,
                                      Class<? extends WritableComparable> keyClass,
                                      Class valClass,
                                      SequenceFile.CompressionType compress,
                                      Progressable progress)
                    throws IOException
Deprecated. 

Throws:
IOException

BloomMapFile.Writer

@Deprecated
public BloomMapFile.Writer(Configuration conf,
                                      FileSystem fs,
                                      String dirName,
                                      Class<? extends WritableComparable> keyClass,
                                      Class valClass,
                                      SequenceFile.CompressionType compress)
                    throws IOException
Deprecated. 

Throws:
IOException

BloomMapFile.Writer

@Deprecated
public BloomMapFile.Writer(Configuration conf,
                                      FileSystem fs,
                                      String dirName,
                                      WritableComparator comparator,
                                      Class valClass,
                                      SequenceFile.CompressionType compress,
                                      CompressionCodec codec,
                                      Progressable progress)
                    throws IOException
Deprecated. 

Throws:
IOException

BloomMapFile.Writer

@Deprecated
public BloomMapFile.Writer(Configuration conf,
                                      FileSystem fs,
                                      String dirName,
                                      WritableComparator comparator,
                                      Class valClass,
                                      SequenceFile.CompressionType compress,
                                      Progressable progress)
                    throws IOException
Deprecated. 

Throws:
IOException

BloomMapFile.Writer

@Deprecated
public BloomMapFile.Writer(Configuration conf,
                                      FileSystem fs,
                                      String dirName,
                                      WritableComparator comparator,
                                      Class valClass,
                                      SequenceFile.CompressionType compress)
                    throws IOException
Deprecated. 

Throws:
IOException

BloomMapFile.Writer

@Deprecated
public BloomMapFile.Writer(Configuration conf,
                                      FileSystem fs,
                                      String dirName,
                                      WritableComparator comparator,
                                      Class valClass)
                    throws IOException
Deprecated. 

Throws:
IOException

BloomMapFile.Writer

@Deprecated
public BloomMapFile.Writer(Configuration conf,
                                      FileSystem fs,
                                      String dirName,
                                      Class<? extends WritableComparable> keyClass,
                                      Class valClass)
                    throws IOException
Deprecated. 

Throws:
IOException

BloomMapFile.Writer

public BloomMapFile.Writer(Configuration conf,
                           Path dir,
                           SequenceFile.Writer.Option... options)
                    throws IOException
Throws:
IOException
Method Detail

append

public void append(WritableComparable key,
                   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 © 2013 Apache Software Foundation. All Rights Reserved.