Uses of Class
org.springframework.data.mongodb.core.aggregation.ArrayOperators.SortArray
Packages that use ArrayOperators.SortArray
Package
Description
Support for the MongoDB aggregation framework.
-
Uses of ArrayOperators.SortArray in org.springframework.data.mongodb.core.aggregation
Methods in org.springframework.data.mongodb.core.aggregation that return ArrayOperators.SortArrayModifier and TypeMethodDescriptionSet the order to put elements in.ArrayOperators.SortArray.byValueAscending()Sort the array elements by their values in ascending order.ArrayOperators.SortArray.byValueDescending()Sort the array elements by their values in descending order.ArrayOperators.SortArray.direction(Sort.Direction direction) Order the values for the array in the given direction.Creates newAggregationExpressionthat takes the associated array and sorts it by the givenorder.ArrayOperators.ArrayOperatorFactory.sort(Sort.Direction direction) Creates newAggregationExpressionthat takes the associated array and sorts it by the givenorder.static ArrayOperators.SortArrayReturns the given array.static ArrayOperators.SortArrayArrayOperators.SortArray.sortArrayOf(String fieldReference) Sorts the elements in the array pointed to by the givenfield reference.static ArrayOperators.SortArrayArrayOperators.SortArray.sortArrayOf(AggregationExpression expression) Sorts the elements of the array computed buy the givenexpression.