|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.io.MapFile.Writer
org.apache.hadoop.io.ArrayFile.Writer
public static class ArrayFile.Writer
Write a new array file.
Constructor Summary | |
---|---|
ArrayFile.Writer(Configuration conf,
FileSystem fs,
String file,
Class valClass,
SequenceFile.CompressionType compress,
Progressable progress)
Create the named file for values of the named class. |
|
ArrayFile.Writer(FileSystem fs,
String file,
Class valClass)
Deprecated. specify SequenceFile.CompressionType and Progressable |
Method Summary | |
---|---|
void |
append(Writable value)
Append a value to the file. |
Methods inherited from class org.apache.hadoop.io.MapFile.Writer |
---|
append, close, getIndexInterval, setIndexInterval |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayFile.Writer(FileSystem fs, String file, Class valClass) throws IOException
SequenceFile.CompressionType
and Progressable
IOException
public ArrayFile.Writer(Configuration conf, FileSystem fs, String file, Class valClass, SequenceFile.CompressionType compress, Progressable progress) throws IOException
IOException
Method Detail |
---|
public void append(Writable value) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |