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