|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Public @InterfaceStability.Stable public interface RecordWriter<K,V>
RecordWriter
writes the output <key, value> pairs
to an output file.
RecordWriter
implementations write the job outputs to the
FileSystem
.
OutputFormat
Method Summary | |
---|---|
void |
close(Reporter reporter)
Close this RecordWriter to future operations. |
void |
write(K key,
V value)
Writes a key/value pair. |
Method Detail |
---|
void write(K key, V value) throws IOException
key
- the key to write.value
- the value to write.
IOException
void close(Reporter reporter) throws IOException
RecordWriter
to future operations.
reporter
- facility to report progress.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |