Package org.redisson.api.mapreduce
Interface RCollectionMapper<VIn,KOut,VOut>
- Type Parameters:
VIn
- 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 and value into
RCollector
instance.
Collected results are handled by RReducer
instance once
all Mapper tasks have finished.- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionvoid
map
(VIn value, RCollector<KOut, VOut> collector) Invoked for each Collection source entry
-
Method Details
-
map
Invoked for each Collection source entry- Parameters:
value
- - input valuecollector
- - instance shared across all Mapper tasks
-