Interface RReducer<K,V>

  • Type Parameters:
    K - key type
    V - value type
    All Superinterfaces:
    Serializable

    public interface RReducer<K,V>
    extends Serializable
    Reduces values mapped by key into single value.
    Author:
    Nikita Koksharov
    • Method Detail

      • reduce

        V reduce(K reducedKey,
                 Iterator<V> iter)
        Invoked for each key
        Parameters:
        reducedKey - - key
        iter - - collection of values
        Returns:
        value