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 CollectionSpecCreates a newCollectionSpecusing the default scope.static CollectionSpecCreates a newCollectionSpecwith default properties.static CollectionSpecCreates a newCollectionSpecwith a custom max expiry.static CollectionSpecCreates a newCollectionSpecwith 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.voidCollectionManager.createCollection(CollectionSpec collectionSpec) Creates a collection if it does not already exist.voidCollectionManager.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.voidCollectionManager.dropCollection(CollectionSpec collectionSpec) Drops a collection if it exists.voidCollectionManager.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 ScopeSpecScopeSpec.create(String name, Set<CollectionSpec> collectionSpecs) Creates a newScopeSpecwith a set ofCollectionSpecs.