Uses of Class
com.couchbase.client.java.manager.collection.CollectionSpec
| Package | Description |
|---|---|
| com.couchbase.client.java.manager.collection |
-
Uses of CollectionSpec in com.couchbase.client.java.manager.collection
Methods in com.couchbase.client.java.manager.collection that return CollectionSpec Modifier and Type Method Description static CollectionSpecCollectionSpec. create(String name, String scopeName)Creates a newCollectionSpecwith default properties.static CollectionSpecCollectionSpec. create(String name, String scopeName, Duration maxExpiry)Creates a newCollectionSpecwith a custom max expiry.Methods in com.couchbase.client.java.manager.collection that return types with arguments of type CollectionSpec Modifier and Type Method Description Set<CollectionSpec>ScopeSpec. collections()Methods in com.couchbase.client.java.manager.collection with parameters of type CollectionSpec Modifier and Type Method Description CompletableFuture<Void>AsyncCollectionManager. createCollection(CollectionSpec collectionSpec)Creates a collection if it does not already exist.CompletableFuture<Void>AsyncCollectionManager. createCollection(CollectionSpec collectionSpec, CreateCollectionOptions options)Creates a collection if it does not already exist.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.Mono<Void>ReactiveCollectionManager. createCollection(CollectionSpec collectionSpec)Creates a collection if it does not already exist.Mono<Void>ReactiveCollectionManager. createCollection(CollectionSpec collectionSpec, CreateCollectionOptions options)Creates a collection if it does not already exist.CompletableFuture<Void>AsyncCollectionManager. dropCollection(CollectionSpec collectionSpec)Drops a collection if it exists.CompletableFuture<Void>AsyncCollectionManager. dropCollection(CollectionSpec collectionSpec, DropCollectionOptions options)Drops a collection if it exists.voidCollectionManager. dropCollection(CollectionSpec collectionSpec)Drops a collection if it exists.voidCollectionManager. dropCollection(CollectionSpec collectionSpec, DropCollectionOptions options)Drops a collection if it exists.Mono<Void>ReactiveCollectionManager. dropCollection(CollectionSpec collectionSpec)Drops a collection if it exists.Mono<Void>ReactiveCollectionManager. dropCollection(CollectionSpec collectionSpec, DropCollectionOptions options)Drops a collection if it exists.Method parameters in com.couchbase.client.java.manager.collection with type arguments of type CollectionSpec Modifier and Type Method Description static ScopeSpecScopeSpec. create(String name, Set<CollectionSpec> collectionSpecs)