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 |
---|---|
CreateCollectionOptions |
CreateCollectionOptions.setCapped(Boolean capped)
Optional.
|
CreateCollectionOptions |
CreateCollectionOptions.setCollation(CollationOptions collation)
Specifies the default collation for the collection.
|
CreateCollectionOptions |
CreateCollectionOptions.setIndexOptionDefaults(JsonObject indexOptionDefaults)
Optional.
|
CreateCollectionOptions |
CreateCollectionOptions.setMaxDocuments(Long maxDocuments)
Optional.
|
CreateCollectionOptions |
CreateCollectionOptions.setSizeInBytes(Long sizeInBytes)
Optional.
|
CreateCollectionOptions |
CreateCollectionOptions.setStorageEngineOptions(JsonObject storageEngineOptions)
Optional.
|
CreateCollectionOptions |
CreateCollectionOptions.setTimeSeriesOptions(TimeSeriesOptions timeSeriesOptions) |
CreateCollectionOptions |
CreateCollectionOptions.setValidationOptions(ValidationOptions validationOptions) |
Modifier and Type | Method and Description |
---|---|
Future<Void> |
MongoClient.createCollectionWithOptions(String collectionName,
CreateCollectionOptions collectionOptions)
Like
MongoClient.createCollection(String, Handler) but with options and returns a Future of the asynchronous result |
MongoClient |
MongoClient.createCollectionWithOptions(String collectionName,
CreateCollectionOptions collectionOptions,
Handler<AsyncResult<Void>> resultHandler)
Create a new collection with options
|
static void |
CreateCollectionOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
CreateCollectionOptions obj) |
static void |
CreateCollectionOptionsConverter.toJson(CreateCollectionOptions obj,
JsonObject json) |
static void |
CreateCollectionOptionsConverter.toJson(CreateCollectionOptions obj,
Map<String,Object> json) |
Constructor and Description |
---|
CreateCollectionOptions(CreateCollectionOptions createCollectionOptions) |
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.createCollectionWithOptions(String collectionName,
CreateCollectionOptions collectionOptions)
Create a new collection with options
|
MongoClient |
MongoClient.createCollectionWithOptions(String collectionName,
CreateCollectionOptions collectionOptions,
Handler<AsyncResult<Void>> resultHandler)
Create a new collection with options
|
Completable |
MongoClient.rxCreateCollectionWithOptions(String collectionName,
CreateCollectionOptions collectionOptions)
Create a new collection with options
|
Modifier and Type | Method and Description |
---|---|
MongoClient |
MongoClient.createCollectionWithOptions(String collectionName,
CreateCollectionOptions collectionOptions)
Create a new collection with options
|
MongoClient |
MongoClient.createCollectionWithOptions(String collectionName,
CreateCollectionOptions collectionOptions,
Handler<AsyncResult<Void>> resultHandler)
Create a new collection with options
|
Single<Void> |
MongoClient.rxCreateCollectionWithOptions(String collectionName,
CreateCollectionOptions collectionOptions)
Create a new collection with options
|
Modifier and Type | Method and Description |
---|---|
Completable |
MongoClient.createCollectionWithOptions(String collectionName,
CreateCollectionOptions collectionOptions)
Create a new collection with options
|
Completable |
MongoClient.rxCreateCollectionWithOptions(String collectionName,
CreateCollectionOptions collectionOptions)
Create a new collection with options
|
Copyright © 2023 Eclipse. All rights reserved.