@InterfaceAudience.LimitedPrivate(value="MapReduce")
@InterfaceStability.Unstable
public interface MapOutputCollector<K,V>
Modifier and Type | Interface and Description |
---|---|
static class |
MapOutputCollector.Context |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
collect(K key,
V value,
int partition) |
void |
flush() |
void |
init(MapOutputCollector.Context 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 © 2017 Apache Software Foundation. All Rights Reserved.