protected static class TextOutputFormat.LineRecordWriter<K,V> extends java.lang.Object implements RecordWriter<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected java.io.DataOutputStream |
out |
| Constructor and Description |
|---|
TextOutputFormat.LineRecordWriter(java.io.DataOutputStream out) |
TextOutputFormat.LineRecordWriter(java.io.DataOutputStream out,
java.lang.String keyValueSeparator) |
public TextOutputFormat.LineRecordWriter(java.io.DataOutputStream out,
java.lang.String keyValueSeparator)
public TextOutputFormat.LineRecordWriter(java.io.DataOutputStream out)
public void write(K key, V value) throws java.io.IOException
RecordWriterwrite in interface RecordWriter<K,V>key - the key to write.value - the value to write.java.io.IOExceptionpublic void close(Reporter reporter) throws java.io.IOException
RecordWriterRecordWriter to future operations.close in interface RecordWriter<K,V>reporter - facility to report progress.java.io.IOExceptionCopyright © 2009 The Apache Software Foundation