Package | Description |
---|---|
com.couchbase.client.java.manager.collection |
Modifier and Type | Method and Description |
---|---|
static CollectionSpec |
CollectionSpec.create(String name)
Creates a new
CollectionSpec using the default scope. |
static CollectionSpec |
CollectionSpec.create(String name,
Duration maxExpiry)
Creates a new
CollectionSpec with a custom max expiry on the default scope. |
static CollectionSpec |
CollectionSpec.create(String name,
String scopeName)
Creates a new
CollectionSpec with default properties. |
static CollectionSpec |
CollectionSpec.create(String name,
String scopeName,
Duration maxExpiry)
Creates a new
CollectionSpec with a custom max expiry. |
protected static CollectionSpec |
CollectionSpec.internalCreate(String name,
String scopeName,
Duration maxExpiry,
Boolean history)
Creates a new
CollectionSpec with a custom max expiry. |
Modifier and Type | Method and Description |
---|---|
Set<CollectionSpec> |
ScopeSpec.collections()
Returns the underlying collections of this scope.
|
Modifier and Type | Method and Description |
---|---|
static ScopeSpec |
ScopeSpec.create(String name,
Set<CollectionSpec> collectionSpecs)
Creates a new
ScopeSpec with a set of CollectionSpec s. |
Copyright © 2024 Couchbase, Inc.. All rights reserved.