Package org.redisson.api.mapreduce
Interface RCollectionMapper<VIn,KOut,VOut>
-
- Type Parameters:
VIn
- input valueKOut
- output keyVOut
- output value
- All Superinterfaces:
Serializable
public interface RCollectionMapper<VIn,KOut,VOut> extends 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 intoRCollector
instance. Collected results are handled byRReducer
instance once all Mapper tasks have finished.- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
map(VIn value, RCollector<KOut,VOut> collector)
Invoked for each Collection source entry
-
-
-
Method Detail
-
map
void map(VIn value, RCollector<KOut,VOut> collector)
Invoked for each Collection source entry- Parameters:
value
- - input valuecollector
- - instance shared across all Mapper tasks
-
-