In
- Input typeOutKey
- Output key typeOutVal
- Output value typepublic interface Mapper<In,OutKey,OutVal>
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
map(In input,
KeyValueCollector<OutKey,OutVal> collector)
Maps an input record to one or more key-value pairs.
|
void map(In input, KeyValueCollector<OutKey,OutVal> collector) throws java.io.IOException, java.lang.InterruptedException
input
- Input valuecollector
- Collects output key-value pairsjava.io.IOException
- IOExceptionjava.lang.InterruptedException
- InterruptedException