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 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 Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress, Progressable progress) throws IOException
IOException@Deprecated public Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass, SequenceFile.CompressionType compress) throws IOException
IOException@Deprecated public Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, CompressionCodec codec, Progressable progress) throws IOException
IOException@Deprecated public Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, Progressable progress) throws IOException
IOException@Deprecated public Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress) throws IOException
IOException@Deprecated public Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass) throws IOException
IOException@Deprecated public Writer(Configuration conf, FileSystem fs, String dirName, Class<? extends WritableComparable> keyClass, Class valClass) throws IOException
IOExceptionpublic Writer(Configuration conf, Path dir, SequenceFile.Writer.Option... options) throws IOException
IOExceptionpublic void append(WritableComparable key, Writable val) throws IOException
MapFile.Writerappend in class MapFile.WriterIOExceptionpublic void close()
throws IOException
MapFile.Writerclose in interface Closeableclose in interface AutoCloseableclose in class MapFile.WriterIOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.