Package com.gengoai.stream
Interface MMapAccumulator<K,V>
-
- Type Parameters:
K
- the key type parameterV
- the value type parameter
- All Superinterfaces:
MAccumulator<Tuple2<K,V>,Map<K,V>>
,Serializable
- All Known Implementing Classes:
LocalMMapAccumulator
,SparkMMapAccumulator
public interface MMapAccumulator<K,V> extends MAccumulator<Tuple2<K,V>,Map<K,V>>
Accumulator for Maps- Author:
- David B. Bracewell
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
put(K key, V value)
Adds the given key-value pair ot the mapvoid
putAll(Map<? extends K,? extends V> other)
Adds all entries of the given map overriding any current entries.
-