Uses of Class
com.couchbase.client.java.manager.collection.CollectionSpec
Packages that use CollectionSpec
-
Uses of CollectionSpec in com.couchbase.client.java.manager.collection
Methods in com.couchbase.client.java.manager.collection that return CollectionSpecModifier and TypeMethodDescriptionstatic CollectionSpec
Creates a newCollectionSpec
using the default scope.static CollectionSpec
Creates a newCollectionSpec
with default properties.static CollectionSpec
Creates a newCollectionSpec
with a custom max expiry.static CollectionSpec
Creates a newCollectionSpec
with a custom max expiry on the default scope.Methods in com.couchbase.client.java.manager.collection that return types with arguments of type CollectionSpecModifier and TypeMethodDescriptionScopeSpec.collections()
Returns the underlying collections of this scope.Methods in com.couchbase.client.java.manager.collection with parameters of type CollectionSpecModifier and TypeMethodDescriptionAsyncCollectionManager.createCollection
(CollectionSpec collectionSpec) Creates a collection if it does not already exist.AsyncCollectionManager.createCollection
(CollectionSpec collectionSpec, CreateCollectionOptions options) Creates a collection if it does not already exist with custom options.void
CollectionManager.createCollection
(CollectionSpec collectionSpec) Creates a collection if it does not already exist.void
CollectionManager.createCollection
(CollectionSpec collectionSpec, CreateCollectionOptions options) Creates a collection if it does not already exist with custom options.ReactiveCollectionManager.createCollection
(CollectionSpec collectionSpec) Creates a collection if it does not already exist.ReactiveCollectionManager.createCollection
(CollectionSpec collectionSpec, CreateCollectionOptions options) Creates a collection if it does not already exist with custom options.AsyncCollectionManager.dropCollection
(CollectionSpec collectionSpec) Drops a collection if it exists.AsyncCollectionManager.dropCollection
(CollectionSpec collectionSpec, DropCollectionOptions options) Drops a collection if it exists with custom options.void
CollectionManager.dropCollection
(CollectionSpec collectionSpec) Drops a collection if it exists.void
CollectionManager.dropCollection
(CollectionSpec collectionSpec, DropCollectionOptions options) Drops a collection if it exists with custom options.ReactiveCollectionManager.dropCollection
(CollectionSpec collectionSpec) Drops a collection if it exists.ReactiveCollectionManager.dropCollection
(CollectionSpec collectionSpec, DropCollectionOptions options) Drops a collection if it exists with custom options.Method parameters in com.couchbase.client.java.manager.collection with type arguments of type CollectionSpecModifier and TypeMethodDescriptionstatic ScopeSpec
ScopeSpec.create
(String name, Set<CollectionSpec> collectionSpecs) Creates a newScopeSpec
with a set ofCollectionSpec
s.