Package | Description |
---|---|
io.vertx.ext.mongo | |
io.vertx.reactivex.ext.mongo | |
io.vertx.rxjava.ext.mongo | |
io.vertx.rxjava3.ext.mongo |
Modifier and Type | Method and Description |
---|---|
CountOptions |
CountOptions.setCollation(CollationOptions collation)
Sets the collation options
|
CountOptions |
CountOptions.setHint(JsonObject hint)
Optional.
|
CountOptions |
CountOptions.setHintString(String hint)
Sets the hint to apply.
|
CountOptions |
CountOptions.setLimit(Integer limit)
Sets the limit to apply.
|
CountOptions |
CountOptions.setMaxTime(Long maxTime)
Sets the maximum execution time (in ms) on the server for this operation.
|
CountOptions |
CountOptions.setSkip(Integer skip)
Optional.
|
Modifier and Type | Method and Description |
---|---|
Future<Long> |
MongoClient.countWithOptions(String collection,
JsonObject query,
CountOptions countOptions)
Like
MongoClient.count(String, JsonObject, Handler) but returns a Future of the asynchronous result |
MongoClient |
MongoClient.countWithOptions(String collection,
JsonObject query,
CountOptions countOptions,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
static void |
CountOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
CountOptions obj) |
static void |
CountOptionsConverter.toJson(CountOptions obj,
JsonObject json) |
static void |
CountOptionsConverter.toJson(CountOptions obj,
Map<String,Object> json) |
Constructor and Description |
---|
CountOptions(CountOptions countOptions) |
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.countWithOptions(String collection,
JsonObject query,
CountOptions countOptions)
Count matching documents in a collection.
|
MongoClient |
MongoClient.countWithOptions(String collection,
JsonObject query,
CountOptions countOptions,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
Single<Long> |
MongoClient.rxCountWithOptions(String collection,
JsonObject query,
CountOptions countOptions)
Count matching documents in a collection.
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.countWithOptions(String collection,
JsonObject query,
CountOptions countOptions)
Count matching documents in a collection.
|
MongoClient |
MongoClient.countWithOptions(String collection,
JsonObject query,
CountOptions countOptions,
Handler<AsyncResult<Long>> resultHandler)
Count matching documents in a collection.
|
Single<Long> |
MongoClient.rxCountWithOptions(String collection,
JsonObject query,
CountOptions countOptions)
Count matching documents in a collection.
|
Modifier and Type | Method and Description |
---|---|
Single<Long> |
MongoClient.countWithOptions(String collection,
JsonObject query,
CountOptions countOptions)
Count matching documents in a collection.
|
Single<Long> |
MongoClient.rxCountWithOptions(String collection,
JsonObject query,
CountOptions countOptions)
Count matching documents in a collection.
|
Copyright © 2023 Eclipse. All rights reserved.