public static class FilterOutputFormat.FilterRecordWriter<K,V> extends Object implements RecordWriter<K,V>
FilterRecordWriter is a convenience wrapper
class that implements RecordWriter.| Modifier and Type | Field and Description |
|---|---|
protected RecordWriter<K,V> |
rawWriter |
| Constructor and Description |
|---|
FilterOutputFormat.FilterRecordWriter() |
FilterOutputFormat.FilterRecordWriter(RecordWriter<K,V> rawWriter) |
protected RecordWriter<K,V> rawWriter
public FilterOutputFormat.FilterRecordWriter()
throws IOException
IOExceptionpublic FilterOutputFormat.FilterRecordWriter(RecordWriter<K,V> rawWriter) throws IOException
IOExceptionpublic void close(Reporter reporter) throws IOException
RecordWriterRecordWriter to future operations.close in interface RecordWriter<K,V>reporter - facility to report progress.IOExceptionpublic void write(K key, V value) throws IOException
RecordWriterwrite in interface RecordWriter<K,V>key - the key to write.value - the value to write.IOExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.