protected static class Task.CombineOutputCollector<K,V> extends java.lang.Object implements OutputCollector<K,V>
Constructor and Description |
---|
Task.CombineOutputCollector(Counters.Counter outCounter,
org.apache.hadoop.util.Progressable progressable,
org.apache.hadoop.conf.Configuration conf) |
public Task.CombineOutputCollector(Counters.Counter outCounter, org.apache.hadoop.util.Progressable progressable, org.apache.hadoop.conf.Configuration conf)
public void setWriter(IFile.Writer<K,V> writer)
public void collect(K key, V value) throws java.io.IOException
OutputCollector
collect
in interface OutputCollector<K,V>
key
- the key to collect.value
- to value to collect.java.io.IOException
Copyright © 2009 The Apache Software Foundation