the sequence of MongoDB aggregation operations
specifies to return the information on the processing of the pipeline
enables writing to temporary files
the cursor object for aggregation
available only if you specify the $out aggregation operator
the read concern (since MongoDB 3.2)
the documents of the first batch
the cursor from the result, if any
Ascending sort order
Ascending sort order
the initial batch size for the cursor
Descending sort order
Descending sort order
Outputs documents in order of nearest to farthest from a specified point.
Outputs documents in order of nearest to farthest from a specified point. http://docs.mongodb.org/manual/reference/operator/aggregation/geoNear/#pipe._S_geoNear
if using a 2dsphere index
the maximum number of documents to return
the maximum distance from the center point that the documents can be
limits the results to the matching documents
the factor to multiply all distances returned by the query
if this value is true, the query returns a matching document once
the point for which to find the closest documents
the output field that contains the calculated distance
this specifies the output field that identifies the location used to calculate the distance
Groups documents together to calulate aggregates on document collections.
Groups documents together to calulate aggregates on document collections.
This command aggregates on arbitrary identifiers.
Document fields identifier must be prefixed with $
.
http://docs.mongodb.org/manual/reference/aggregation/group/#_S_group
any BSON value acceptable by mongodb as identifier
the sequence of operators specifying aggregate calculation
Groups documents together to calulate aggregates on document collections.
Groups documents together to calulate aggregates on document collections. This command aggregates on one field. http://docs.mongodb.org/manual/reference/aggregation/group/#_S_group
the name of the field to aggregate on
the sequence of operators specifying aggregate calculation
Represents one of the group operators for the "Group" Operation.
Represents one of the group operators for the "Group" Operation. This class is sealed as these are defined in the MongoDB spec, and clients should not need to customise these.
Groups documents together to calulate aggregates on document collections.
Groups documents together to calulate aggregates on document collections. This command aggregates on multiple fields, and they must be named. http://docs.mongodb.org/manual/reference/aggregation/group/#_S_group
The fields to aggregate on, and the names they should be aggregated under.
the sequence of operators specifying aggregate calculation
Limits the number of documents that pass through the stream.
Limits the number of documents that pass through the stream. http://docs.mongodb.org/manual/reference/aggregation/limit/#_S_limit
the number of documents to allow through
Filters out documents from the stream that do not match the predicate.
Filters out documents from the stream that do not match the predicate. http://docs.mongodb.org/manual/reference/aggregation/match/#_S_match
the query that documents must satisfy to be in the stream
Metadata sort order.
Takes the documents returned by the aggregation pipeline and writes them to a specified collection http://docs.mongodb.org/manual/reference/operator/aggregation/out/#pipe._S_out
Takes the documents returned by the aggregation pipeline and writes them to a specified collection http://docs.mongodb.org/manual/reference/operator/aggregation/out/#pipe._S_out
the name of the output collection
One of MongoDBs pipeline operators for aggregation.
One of MongoDBs pipeline operators for aggregation. Sealed as these are defined in the MongoDB specifications, and clients should not have custom operators.
Reshapes a document stream by renaming, adding, or removing fields.
Reshapes a document stream by renaming, adding, or removing fields. Also uses Project to create computed values or sub-objects.
The fields to include. The resulting objects will contain only these fields.
Restricts the contents of the documents based on information stored in the documents themselves.
Restricts the contents of the documents based on information stored in the documents themselves. http://docs.mongodb.org/manual/reference/operator/aggregation/redact/#pipe._S_redact Redact
the redact expression
Randomly selects the specified number of documents from its input.
Randomly selects the specified number of documents from its input. https://docs.mongodb.org/master/reference/operator/aggregation/sample/
the number of documents to return
Skips over a number of documents before passing all further documents along the stream.
Skips over a number of documents before passing all further documents along the stream. http://docs.mongodb.org/manual/reference/aggregation/skip/#_S_skip
the number of documents to skip
Sorts the stream based on the given fields.
Sorts the stream based on the given fields. http://docs.mongodb.org/manual/reference/aggregation/sort/#_S_sort
the fields to sort by
Represents that a field should be sorted on, as well as whether it should be ascending or descending.
Represents that a field should be sorted on, as well as whether it should be ascending or descending.
Turns a document with an array into multiple documents, one document for each element in the array.
Turns a document with an array into multiple documents, one document for each element in the array. http://docs.mongodb.org/manual/reference/aggregation/unwind/#_S_unwind
the name of the array to unwind
Factory to declare custom call to a group function.
Factory to declare custom call to a group function.
References the score associated with the corresponding $text
query for each matching document.
References the score associated with the corresponding $text
query for each matching document.
Returns an boolean as a serialized value.
Returns an boolean as a serialized value.
Returns an double as a serialized value.
Returns an double as a serialized value.
Returns a producer of element for the given name
and value
.
Returns a producer of element for the given name
and value
.
the element name
the element value
Returns an integer as a serialized value.
Returns an integer as a serialized value.
Returns an long as a serialized value.
Returns an long as a serialized value.
Returns a document from a sequence of element producers.
Returns a document from a sequence of element producers.
Returns an string as a serialized value.
Returns an string as a serialized value.