@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
IOExceptionClassNotFoundExceptionvoid collect(K key, V value, int partition) throws IOException, InterruptedException
IOExceptionInterruptedExceptionvoid close()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionvoid flush()
throws IOException,
InterruptedException,
ClassNotFoundException
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.