Interface ExecutableMapReduceOperation.MapReduceWithReduceFunction<T>
- All Known Subinterfaces:
ExecutableMapReduceOperation.ExecutableMapReduce<T>
- Enclosing interface:
- ExecutableMapReduceOperation
public static interface ExecutableMapReduceOperation.MapReduceWithReduceFunction<T>
Provide the Javascript
function()
used to reduce matching documents.- Since:
- 2.1
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionSet the Javascript mapfunction()
.
-
Method Details
-
reduce
Set the Javascript mapfunction()
.- Parameters:
reduceFunction
- must not be null nor empty.- Returns:
- new instance of
ExecutableMapReduceOperation.ExecutableMapReduce
. - Throws:
IllegalArgumentException
- if reduceFunction is null or empty.
-