datafu.hourglass.model
Interface KeyValueCollector<K,V>
- Type Parameters:
K
- Key typeV
- Value type
public interface KeyValueCollector<K,V>
Provided to an instance of Mapper
to collect key-value pairs.
- Author:
- "Matthew Hayes"
Method Summary |
void |
collect(K key,
V value)
Collects key-value pairs. |
collect
void collect(K key,
V value)
throws java.io.IOException,
java.lang.InterruptedException
- Collects key-value pairs.
- Parameters:
key
- Key to be collectedvalue
- Value to be collected
- Throws:
java.io.IOException
java.lang.InterruptedException
Matthew Hayes