Uses of Class
org.springframework.data.mongodb.core.aggregation.SelectionOperators.Top
Packages that use SelectionOperators.Top
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of SelectionOperators.Top in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return SelectionOperators.TopModifier and TypeMethodDescriptionSelectionOperators.Top.limit
(int numberOfResults) Limits the number of returned elements to the given value.SelectionOperators.Top.limit
(AggregationExpression expression) Limits the number of returned elements to the value defined by the givenexpression
.Define fields included in the output for each element.SelectionOperators.Top.output
(AggregationExpression... out) Define expressions building the value included in the output for each element.Define result ordering.Define result ordering.static SelectionOperators.Top
SelectionOperators.Top.top()
static SelectionOperators.Top
SelectionOperators.Top.top
(int numberOfResults)