@@ -566,7 +566,7 @@ public <T> T execute(SessionCallback<T> action, Consumer<ClientSession> onComple
566
566
* @param reduceFunction The JavaScript reduce function
567
567
* @param entityClass The parametrized type of the returned list. Must not be {@literal null}.
568
568
* @return The results of the map reduce operation
569
- * @deprecated since MongoDB server version 5.0
569
+ * @deprecated since 3.4 in favor of {@link #aggregate(TypedAggregation, Class)}.
570
570
*/
571
571
@ Deprecated
572
572
<T > MapReduceResults <T > mapReduce (String inputCollectionName , String mapFunction , String reduceFunction ,
@@ -581,7 +581,7 @@ <T> MapReduceResults<T> mapReduce(String inputCollectionName, String mapFunction
581
581
* @param mapReduceOptions Options that specify detailed map-reduce behavior.
582
582
* @param entityClass The parametrized type of the returned list. Must not be {@literal null}.
583
583
* @return The results of the map reduce operation
584
- * @deprecated since MongoDB server version 5.0
584
+ * @deprecated since 3.4 in favor of {@link #aggregate(TypedAggregation, Class)}.
585
585
*/
586
586
@ Deprecated
587
587
<T > MapReduceResults <T > mapReduce (String inputCollectionName , String mapFunction , String reduceFunction ,
@@ -597,7 +597,7 @@ <T> MapReduceResults<T> mapReduce(String inputCollectionName, String mapFunction
597
597
* @param reduceFunction The JavaScript reduce function
598
598
* @param entityClass The parametrized type of the returned list. Must not be {@literal null}.
599
599
* @return The results of the map reduce operation
600
- * @deprecated since MongoDB server version 5.0
600
+ * @deprecated since 3.4 in favor of {@link #aggregate(TypedAggregation, Class)}.
601
601
*/
602
602
@ Deprecated
603
603
<T > MapReduceResults <T > mapReduce (Query query , String inputCollectionName , String mapFunction , String reduceFunction ,
@@ -613,7 +613,7 @@ <T> MapReduceResults<T> mapReduce(Query query, String inputCollectionName, Strin
613
613
* @param mapReduceOptions Options that specify detailed map-reduce behavior
614
614
* @param entityClass The parametrized type of the returned list. Must not be {@literal null}.
615
615
* @return The results of the map reduce operation
616
- * @deprecated since MongoDB server version 5.0
616
+ * @deprecated since 3.4 in favor of {@link #aggregate(TypedAggregation, Class)}.
617
617
*/
618
618
@ Deprecated
619
619
<T > MapReduceResults <T > mapReduce (Query query , String inputCollectionName , String mapFunction , String reduceFunction ,
0 commit comments