com.hazelcast.mapreduce
Interface Context<K,V>
- Type Parameters:
K - key type of the resulting keysV - value type of the resulting values
@Beta
public interface Context<K,V>
The Context interface is used for emitting keys and values to the sample space of
the MapReduce algorithm.
- Since:
- 3.2
|
Method Summary |
void |
emit(K key,
V value)
Emits a key-value pair to the sample space. |
emit
void emit(K key,
V value)
- Emits a key-value pair to the sample space. The same key can be used multiple
times to collect values under the same key.
- Parameters:
key - emitted key.value - emitted value.
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.