public class TextRecordWriter extends Object implements RecordWriter
| Constructor and Description |
|---|
TextRecordWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
initialize(OutputStream out,
org.apache.hadoop.conf.Configuration conf) |
void |
write(org.apache.hadoop.io.Writable row) |
public void initialize(OutputStream out, org.apache.hadoop.conf.Configuration conf) throws IOException
initialize in interface RecordWriterIOExceptionpublic void write(org.apache.hadoop.io.Writable row)
throws IOException
write in interface RecordWriterIOExceptionpublic void close()
throws IOException
close in interface RecordWriterIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.