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