public static class BloomMapFile.Writer extends MapFile.Writer
限定符和类型 | 方法和说明 |
---|---|
void |
append(WritableComparable key,
Writable val)
Append a key/value pair to the map.
|
void |
close()
Close the map.
|
getIndexInterval, setIndexInterval, setIndexInterval
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
public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress, Progressable progress) throws IOException
IOException
public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress) throws IOException
IOException
public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, CompressionCodec codec, Progressable progress) throws IOException
IOException
public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, Progressable progress) throws IOException
IOException
public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress) throws IOException
IOException
public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass) throws IOException
IOException
public BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass) throws IOException
IOException
public void append(WritableComparable key, Writable val) throws IOException
MapFile.Writer
append
在类中 MapFile.Writer
IOException
public void close() throws IOException
MapFile.Writer
close
在接口中 Closeable
close
在接口中 AutoCloseable
close
在类中 MapFile.Writer
IOException
Copyright © 2009 The Apache Software Foundation