Uses of Class
dev.morphia.query.Sort
-
Packages that use Sort Package Description dev.morphia.aggregation dev.morphia.query dev.morphia.query.experimental.updates -
-
Uses of Sort in dev.morphia.aggregation
Methods in dev.morphia.aggregation with parameters of type Sort Modifier and Type Method Description AggregationPipeline
AggregationPipeline. sort(Sort... sorts)
Deprecated, for removal: This API element is subject to removal in a future version.Reorders the document stream by a specified sort key.AggregationPipeline
AggregationPipelineImpl. sort(Sort... sorts)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Sort in dev.morphia.query
Methods in dev.morphia.query that return Sort Modifier and Type Method Description static Sort
Sort. ascending(String field)
Creates an ascending sort on a fieldstatic Sort
Sort. descending(String field)
Creates a descending sort on a fieldstatic Sort
Sort. naturalAscending()
Creates an ascending sort on a fieldstatic Sort
Sort. naturalDescending()
Creates a descending natural sort on a fieldMethods in dev.morphia.query with parameters of type Sort Modifier and Type Method Description FindOptions
FindOptions. sort(Sort... sorts)
Sets to the sort to use -
Uses of Sort in dev.morphia.query.experimental.updates
Methods in dev.morphia.query.experimental.updates with parameters of type Sort Modifier and Type Method Description PushOperator
PushOperator. sort(Sort value)
Sets the sort value for the update
-