public class MongoReadOpts extends Object
| Constructor and Description |
|---|
MongoReadOpts() |
| Modifier and Type | Method and Description |
|---|---|
static io.vertx.ext.mongo.FindOptions |
toAsc(String sortField)
Query all records by field Asc
|
static io.vertx.ext.mongo.FindOptions |
toAscLimit(String sortField,
int limit)
Query top n records by field ASC
|
static io.vertx.ext.mongo.FindOptions |
toDesc(String sortField)
Query all records by field Desc
|
static io.vertx.ext.mongo.FindOptions |
toDescLimit(String sortField,
int limit)
Query top n records by field DESC
|
static io.vertx.ext.mongo.FindOptions |
toFull(Pager pager,
Sorter sorter)
Query all records by pager/sorter both
|
public static io.vertx.ext.mongo.FindOptions toDescLimit(String sortField, int limit)
sortField - limit - public static io.vertx.ext.mongo.FindOptions toAscLimit(String sortField, int limit)
sortField - limit - public static io.vertx.ext.mongo.FindOptions toDesc(String sortField)
sortField - public static io.vertx.ext.mongo.FindOptions toAsc(String sortField)
sortField - Copyright © 2018. All rights reserved.