Skip to content

Commit b7647e1

Browse files
committed
Updated the MapReduceIterable API docs
Clarified that by default map reduces are inline JAVA-1932
1 parent 79cb423 commit b7647e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

driver/src/main/com/mongodb/client/MapReduceIterable.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
import java.util.concurrent.TimeUnit;
2323

2424
/**
25-
* Iterable for map reduce.
25+
* Iterable for map-reduce.
26+
*
27+
* <p>By default the {@code MapReduceIterable} returns the results inline. You can write map-reduce output to a collection by using the
28+
* {@link MapReduceIterable#collectionName(String)} method.</p>
2629
*
2730
* @param <TResult> The type of the result.
2831
* @since 3.0

0 commit comments

Comments
 (0)