Uses of Class
org.springframework.data.mongodb.core.aggregation.ArrayOperators.SortArray
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of ArrayOperators.SortArray in org.springframework.data.mongodb.core.aggregation
Modifier and TypeMethodDescriptionSet the order to put elements in.Creates newAggregationExpression
that takes the associated array and sorts it by the givenorder
.static ArrayOperators.SortArray
Returns the given array.static ArrayOperators.SortArray
ArrayOperators.SortArray.sortArrayOf
(String fieldReference) Sorts the elements in the array pointed to by the givenfield reference
.static ArrayOperators.SortArray
ArrayOperators.SortArray.sortArrayOf
(AggregationExpression expression) Sorts the elements of the array computed buy the givenexpression
.