Java com.mongodb MapReduceOutput fields, constructors, methods, implement or subclass

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

Introduction

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

The text is from its open source code.

Constructor

Method

voiddrop()
Drops the collection that holds the results.
StringgetCollectionName()
Get the name of the collection that the results of the map reduce were saved into.
DBObjectgetCommand()
Get the original command that was sent to the database.
intgetDuration()
Get the amount of time, in milliseconds, that it took to run this map reduce.
intgetEmitCount()
Get the number of messages emitted from the provided map function.
intgetInputCount()
Get the number of documents that were input into the map reduce operation
DBCollectiongetOutputCollection()
Gets the collection that holds the results (Will return null if results are Inline).
intgetOutputCount()
Get the number of documents generated as a result of this map reduce
Iterableresults()
Returns an iterable containing the results of the operation.