public static class ArrayFile.Writer extends MapFile.Writer
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
void |
append(Writable value)
Append a value to the file.
|
append, close, getIndexInterval, setIndexInterval, setIndexInterval
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 © 2009 The Apache Software Foundation