datafu.hourglass.model
Interface KeyValueCollector<K,V>

Type Parameters:
K - Key type
V - 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.
 

Method Detail

collect

void collect(K key,
             V value)
             throws java.io.IOException,
                    java.lang.InterruptedException
Collects key-value pairs.

Parameters:
key - Key to be collected
value - Value to be collected
Throws:
java.io.IOException
java.lang.InterruptedException


Matthew Hayes