public static class FilterOutputFormat.FilterRecordWriter<K,V> extends RecordWriter<K,V>
FilterRecordWriter
is a convenience wrapper
class that extends the RecordWriter
.限定符和类型 | 字段和说明 |
---|---|
protected RecordWriter<K,V> |
rawWriter |
构造器和说明 |
---|
FilterOutputFormat.FilterRecordWriter() |
FilterOutputFormat.FilterRecordWriter(RecordWriter<K,V> rwriter) |
protected RecordWriter<K,V> rawWriter
public FilterOutputFormat.FilterRecordWriter()
public FilterOutputFormat.FilterRecordWriter(RecordWriter<K,V> rwriter)
public void write(K key, V value) throws IOException, InterruptedException
RecordWriter
write
在类中 RecordWriter<K,V>
key
- the key to write.value
- the value to write.IOException
InterruptedException
public void close(TaskAttemptContext context) throws IOException, InterruptedException
RecordWriter
RecordWriter
to future operations.close
在类中 RecordWriter<K,V>
context
- the context of the taskIOException
InterruptedException
Copyright © 2009 The Apache Software Foundation