Package | Description |
---|---|
com.couchbase.client.java.manager.collection |
Modifier and Type | Method and Description |
---|---|
static CreateCollectionSettings |
CreateCollectionSettings.createCollectionSettings()
Creates a new instance with default values.
|
CreateCollectionSettings |
CreateCollectionSettings.history(Boolean history) |
CreateCollectionSettings |
CreateCollectionSettings.maxExpiry(Duration maxExpiry)
The max expiry for documents in this collection,
or a non-positive duration indicating special expiry behavior.
|
Modifier and Type | Method and Description |
---|---|
Mono<Void> |
ReactiveCollectionManager.createCollection(String scopeName,
String collectionName,
CreateCollectionSettings settings)
Creates a collection if it does not already exist with custom options.
|
CompletableFuture<Void> |
AsyncCollectionManager.createCollection(String scopeName,
String collectionName,
CreateCollectionSettings settings)
Creates a collection if it does not already exist with custom options.
|
void |
CollectionManager.createCollection(String scopeName,
String collectionName,
CreateCollectionSettings settings)
Creates a collection if it does not already exist with custom options.
|
Mono<Void> |
ReactiveCollectionManager.createCollection(String scopeName,
String collectionName,
CreateCollectionSettings settings,
CreateCollectionOptions options)
Creates a collection if it does not already exist with custom options.
|
CompletableFuture<Void> |
AsyncCollectionManager.createCollection(String scopeName,
String collectionName,
CreateCollectionSettings settings,
CreateCollectionOptions options)
Creates a collection if it does not already exist with custom options.
|
void |
CollectionManager.createCollection(String scopeName,
String collectionName,
CreateCollectionSettings settings,
CreateCollectionOptions options)
Creates a collection if it does not already exist with custom options.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.