protected static class Task.CombineOutputCollector<K,V> extends Object implements OutputCollector<K,V>
| 构造器和说明 |
|---|
Task.CombineOutputCollector(Counters.Counter outCounter,
Progressable progressable,
Configuration conf) |
public Task.CombineOutputCollector(Counters.Counter outCounter, Progressable progressable, Configuration conf)
public void setWriter(IFile.Writer<K,V> writer)
public void collect(K key, V value) throws IOException
OutputCollectorcollect 在接口中 OutputCollector<K,V>key - the key to collect.value - to value to collect.IOExceptionCopyright © 2009 The Apache Software Foundation