Package org.redisson.api.mapreduce
Interface RMapper<KIn,VIn,KOut,VOut>
- Type Parameters:
KIn- input keyVIn- input valueKOut- output keyVOut- output value
- All Superinterfaces:
Serializable
Mapper task invoked during map phase of MapReduce process and launched across Redisson Nodes.
Every task stores transformed result of input key/value into
RCollector instance.
Collected results are handled by RReducer instance once
all Mapper tasks have finished.- Author:
- Nikita Koksharov
-
Method Summary
-
Method Details
-
map
Invoked for each Map source entry- Parameters:
key- - input keyvalue- - input valuecollector- - instance shared across all Mapper tasks
-