datafu.hourglass.model
Interface Mapper<In,OutKey,OutVal>
- Type Parameters:
In
- Input typeOutKey
- Output key typeOutVal
- Output value type
- All Superinterfaces:
- java.io.Serializable
public interface Mapper<In,OutKey,OutVal>
- extends java.io.Serializable
Maps an input record to one or more key-value pairs.
- Author:
- "Matthew Hayes"
map
void map(In input,
KeyValueCollector<OutKey,OutVal> collector)
throws java.io.IOException,
java.lang.InterruptedException
- Maps an input record to one or more key-value pairs.
- Parameters:
input
- Input valuecollector
- Collects output key-value pairs
- Throws:
java.io.IOException
java.lang.InterruptedException
Matthew Hayes