Java com.mongodb.client MapReduceIterable fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb.client MapReduceIterable fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb.client MapReduceIterable.

The text is from its open source code.

Method

MapReduceIterableaction(MapReduceAction action)
Specify the MapReduceAction to be used when writing to a collection.
MapReduceIterablecollectionName(String collectionName)
Sets the collectionName for the output of the MapReduce

The default action is replace the collection if it exists, to change this use #action .

MapReduceIterablefilter(@Nullable Bson filter)
Sets the query filter to apply to the query.
MapReduceIterablefinalizeFunction(@Nullable String finalizeFunction)
Sets the JavaScript function that follows the reduce method and modifies the output.