Example usage for Java com.mongodb.client.model Sorts fields, constructors, methods, implement or subclass
The text is from its open source code.
Bson | ascending(final String... fieldNames) Create a sort specification for an ascending sort on the given fields. |
Bson | ascending(final List Create a sort specification for an ascending sort on the given fields. |
Bson | descending(final String... fieldNames) Create a sort specification for a descending sort on the given fields. |
Bson | descending(final List Create a sort specification for a descending sort on the given fields. |
Bson | orderBy(final Bson... sorts) Combine multiple sort specifications. |
Bson | orderBy(final List extends Bson> sorts) Combine multiple sort specifications. |
Bson | orderBy(final List |