public static class BloomMapFile.Writer extends MapFile.Writer
MapFile.Writer.Option
Modifier and Type | Method and Description |
---|---|
void |
append(WritableComparable key,
Writable val)
Append a key/value pair to the map.
|
void |
close()
Close the map.
|
comparator, compression, compression, getIndexInterval, keyClass, progressable, setIndexInterval, setIndexInterval, valueClass
@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
IOException
@Deprecated public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress, Progressable progress) throws IOException
IOException
@Deprecated public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress) throws IOException
IOException
@Deprecated public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, CompressionCodec codec, Progressable progress) throws IOException
IOException
@Deprecated public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, Progressable progress) throws IOException
IOException
@Deprecated public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress) throws IOException
IOException
@Deprecated public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass) throws IOException
IOException
@Deprecated public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass) throws IOException
IOException
public BloomMapFile.Writer(Configuration conf, Path dir, SequenceFile.Writer.Option... options) throws IOException
IOException
public void append(WritableComparable key, Writable val) throws IOException
MapFile.Writer
append
in class MapFile.Writer
IOException
public void close() throws IOException
MapFile.Writer
close
in interface Closeable
close
in interface AutoCloseable
close
in class MapFile.Writer
IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.