Package org.redisson.api.mapreduce
Interface RMapReduceExecutor<VIn,KOut,VOut>
- Type Parameters:
VIn
- input valueKOut
- output keyVOut
- output value
- All Known Subinterfaces:
RCollectionMapReduce<VIn,
,KOut, VOut> RMapReduce<KIn,
VIn, KOut, VOut>
- All Known Implementing Classes:
RedissonCollectionMapReduce
,RedissonMapReduce
public interface RMapReduceExecutor<VIn,KOut,VOut>
Contains methods for MapReduce process execution.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionexecute()
Executes MapReduce process across Redisson Nodesvoid
Executes MapReduce process across Redisson Nodes and stores result in map withresultMapName
<R> R
Executes MapReduce process across Redisson Nodes and collides result using definedcollator
Executes MapReduce process across Redisson Nodes in asynchronous modeexecuteAsync
(String resultMapName) Executes MapReduce process across Redisson Nodes in asynchronous mode and stores result in map withresultMapName
<R> RFuture
<R> executeAsync
(RCollator<KOut, VOut, R> collator) Executes MapReduce process across Redisson Nodes in asynchronous mode and collides result using definedcollator
-
Method Details
-
execute
Executes MapReduce process across Redisson Nodes- Returns:
- map containing reduced keys and values
-
executeAsync
Executes MapReduce process across Redisson Nodes in asynchronous mode- Returns:
- map containing reduced keys and values
-
execute
Executes MapReduce process across Redisson Nodes and stores result in map withresultMapName
- Parameters:
resultMapName
- - destination map name
-
executeAsync
Executes MapReduce process across Redisson Nodes in asynchronous mode and stores result in map withresultMapName
- Parameters:
resultMapName
- - destination map name- Returns:
- void
-
execute
Executes MapReduce process across Redisson Nodes and collides result using definedcollator
- Type Parameters:
R
- result type- Parameters:
collator
- applied to result- Returns:
- collated result
-
executeAsync
Executes MapReduce process across Redisson Nodes in asynchronous mode and collides result using definedcollator
- Type Parameters:
R
- result type- Parameters:
collator
- applied to result- Returns:
- collated result
-