public static class ArrayFile.Writer extends MapFile.Writer
MapFile.Writer.Option| Constructor and Description | 
|---|
| ArrayFile.Writer(Configuration conf,
                FileSystem fs,
                String file,
                Class<? extends Writable> valClass)Create the named file for values of the named class. | 
| ArrayFile.Writer(Configuration conf,
                FileSystem fs,
                String file,
                Class<? extends Writable> valClass,
                SequenceFile.CompressionType compress,
                Progressable progress)Create the named file for values of the named class. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | append(Writable value)Append a value to the file. | 
append, close, comparator, compression, compression, getIndexInterval, keyClass, progressable, setIndexInterval, setIndexInterval, valueClasspublic ArrayFile.Writer(Configuration conf, FileSystem fs, String file, Class<? extends Writable> valClass) throws IOException
IOExceptionpublic ArrayFile.Writer(Configuration conf, FileSystem fs, String file, Class<? extends Writable> valClass, SequenceFile.CompressionType compress, Progressable progress) throws IOException
IOExceptionpublic void append(Writable value) throws IOException
IOExceptionCopyright © 2018 Apache Software Foundation. All Rights Reserved.