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 Summary

    Modifier and Type
    Method
    Description
    reduce(K reducedKey, Iterator<V> iter)
    Invoked for each key
  • Method Details

    • reduce

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