|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mapper<KIn,VIn,KOut,VOut>
Implementation of a Mapper class is a component of a MapReduceTask invoked once for each input
entry K,V. Every Mapper instance migrated to an Infinispan node, given a cache entry K,V input
pair transforms that input pair into intermediate keys and emits them into Collector provided by
Infinispan execution environment. Intermediate results are further reduced using a
Reducer
.
Reducer
,
MapReduceTask
Method Summary | |
---|---|
void |
map(KIn key,
VIn value,
Collector<KOut,VOut> collector)
Invoked once for each input cache entry KIn,VOut pair. |
Method Detail |
---|
void map(KIn key, VIn value, Collector<KOut,VOut> collector)
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |