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
RecordWriter
write
in interface RecordWriter<K,V>
key
- the key to write.value
- the value to write.java.io.IOException
public void close(Reporter reporter) throws java.io.IOException
RecordWriter
RecordWriter
to future operations.close
in interface RecordWriter<K,V>
reporter
- facility to report progress.java.io.IOException
Copyright © 2009 The Apache Software Foundation