Modifier and Type | Method and Description |
---|---|
IndexModel |
IndexModel.setKey(io.vertx.core.json.JsonObject key)
Sets the index key
|
IndexModel |
IndexModel.setOptions(IndexOptions options)
Sets the index options
|
Modifier and Type | Method and Description |
---|---|
static void |
IndexModelConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
IndexModel obj) |
static void |
IndexModelConverter.toJson(IndexModel obj,
io.vertx.core.json.JsonObject json) |
static void |
IndexModelConverter.toJson(IndexModel obj,
Map<String,Object> json) |
Modifier and Type | Method and Description |
---|---|
io.vertx.core.Future<Void> |
MongoClient.createIndexes(String collection,
List<IndexModel> indexes)
Like
MongoClient.createIndexes(String, List, Handler) but returns a Future of the asynchronous result |
MongoClient |
MongoClient.createIndexes(String collection,
List<IndexModel> indexes,
io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> resultHandler)
creates an indexes
|
Copyright © 2021 Eclipse. All rights reserved.