Java com.mongodb.client.model Sorts fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb.client.model Sorts fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb.client.model Sorts.

The text is from its open source code.

Method

Bsonascending(final String... fieldNames)
Create a sort specification for an ascending sort on the given fields.
Bsonascending(final List fieldNames)
Create a sort specification for an ascending sort on the given fields.
Bsondescending(final String... fieldNames)
Create a sort specification for a descending sort on the given fields.
Bsondescending(final List fieldNames)
Create a sort specification for a descending sort on the given fields.
BsonorderBy(final Bson... sorts)
Combine multiple sort specifications.
BsonorderBy(final List sorts)
Combine multiple sort specifications.
BsonorderBy(final List fieldNames, final BsonValue value)