@InterfaceAudience.Private @InterfaceStability.Unstable public static class Task.CombineOutputCollector<K,V> extends 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 IOException
OutputCollector
collect
in interface OutputCollector<K,V>
key
- the key to collect.value
- to value to collect.IOException
Copyright © 2019 Apache Software Foundation. All Rights Reserved.