@InterfaceAudience.LimitedPrivate(value="MapReduce")
@InterfaceStability.Unstable
public interface MapOutputCollector<K,V>
Modifier and Type | Interface and Description |
---|---|
static class |
MapOutputCollector.Context |
void init(MapOutputCollector.Context context) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
void collect(K key, V value, int partition) throws IOException, InterruptedException
IOException
InterruptedException
void close() throws IOException, InterruptedException
IOException
InterruptedException
void flush() throws IOException, InterruptedException, ClassNotFoundException
Copyright © 2013 Apache Software Foundation. All Rights Reserved.