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, valueClass
public ArrayFile.Writer(Configuration conf, FileSystem fs, String file, Class<? extends Writable> valClass) throws IOException
IOException
public ArrayFile.Writer(Configuration conf, FileSystem fs, String file, Class<? extends Writable> valClass, SequenceFile.CompressionType compress, Progressable progress) throws IOException
IOException
public void append(Writable value) throws IOException
IOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.