Since MongoDB 3.
Since MongoDB 3.4
https://docs.mongodb.com/manual/reference/operator/aggregation/addFields/
Ascending sort order
Since MongoDB 3.
Descending sort order
The $filter aggregation stage.
Outputs documents in order of nearest to farthest from a specified point.
_Since MongoDB 3.
Groups documents together to calculate aggregates on document collections.
Groups documents together to calculate aggregates on document collections.
Represents one of the group/accumulator operators,
for the $group
aggregation.
Represents one of the group/accumulator operators,
for the $group
aggregation. Operation.
https://docs.mongodb.com/manual/reference/operator/aggregation/group/#accumulator-operator
Groups documents together to calculate aggregates on document collections.
Limits the number of documents that pass through the stream.
_Since MongoDB 3.
Filters out documents from the stream that do not match the predicate.
Metadata sort order.
Takes the documents returned by the aggregation pipeline and writes them to a specified collection http://docs.
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.
Restricts the contents of the documents based on information stored in the documents themselves.
Promotes a specified document to the top level and replaces all other fields.
Promotes a specified document to the top level and replaces all other fields.
Randomly selects the specified number of documents from its input.
Skips over a number of documents before passing all further documents along the stream.
Sorts the stream based on the given fields.
Represents that a field should be sorted on, as well as whether it should be ascending or descending.
The $stdDevPop group accumulator (since MongoDB 3.
The $stdDevPop group accumulator (since MongoDB 3.2)
The $stdDevPop for a single field (since MongoDB 3.
The $stdDevPop for a single field (since MongoDB 3.2)
The $stdDevSamp group accumulator (since MongoDB 3.
The $stdDevSamp group accumulator (since MongoDB 3.2)
The $stdDevSamp for a single field (since MongoDB 3.
The $stdDevSamp for a single field (since MongoDB 3.2)
Turns a document with an array into multiple documents, one document for each element in the array.
(Since version 0.12.0) Use SumAll
Returns an boolean as a serialized value.
Returns an boolean as a serialized value.
(Since version 0.12.7) Use pack.newBuilder
Returns an double as a serialized value.
Returns an double as a serialized value.
(Since version 0.12.7) Use pack.newBuilder
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
(Since version 0.12.7) Use pack.newBuilder
Returns an integer as a serialized value.
Returns an integer as a serialized value.
(Since version 0.12.7) Use pack.newBuilder
Returns an long as a serialized value.
Returns an long as a serialized value.
(Since version 0.12.7) Use pack.newBuilder
Returns a non empty array of values
Returns a non empty array of values
(Since version 0.12.7) Use pack.newBuilder
Returns a document from a sequence of element producers.
Returns a document from a sequence of element producers.
(Since version 0.12.7) Use pack.newBuilder
Returns an string as a serialized value.
Returns an string as a serialized value.
(Since version 0.12.7) Use pack.newBuilder
Filter companion
Factory to declare custom call to a group function.
Factory to declare custom call to a group function.
Since MongoDB 3.
Only for advanced user: Factory for stage not already provided in the API.
Only for advanced user: Factory for stage not already provided in the API.
For example for { $sample: { size: 2 } }
PipelineOperator(BSONDocument("$sample" -> BSONDocument("size" -> 2)))
Sum operation of the form $sum: 1
Sum operation of the form $sum: 1
References the score associated with the corresponding $text
query for each matching document.
(aggregationFramework: StringAdd).self
(aggregationFramework: StringFormat).self
(aggregationFramework: ArrowAssoc[AggregationFramework[P]]).x
(Since version 2.10.0) Use leftOfArrow
instead
(aggregationFramework: Ensuring[AggregationFramework[P]]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
Implements the Aggregation Framework.