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.protected static CollectionSpec
CollectionSpec.internalCreate
(String name, String scopeName, Duration maxExpiry, Boolean history) Creates a newCollectionSpec
with a custom max expiry.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) Deprecated.This method cannot be used to set the collection's "history" property.AsyncCollectionManager.createCollection
(CollectionSpec collectionSpec, CreateCollectionOptions options) Deprecated.This method cannot be used to set the collection's "history" property.void
CollectionManager.createCollection
(CollectionSpec collectionSpec) Deprecated.This method cannot be used to set the collection's "history" property.void
CollectionManager.createCollection
(CollectionSpec collectionSpec, CreateCollectionOptions options) Deprecated.This method cannot be used to set the collection's "history" property.reactor.core.publisher.Mono
<Void> ReactiveCollectionManager.createCollection
(CollectionSpec collectionSpec) Deprecated.This method cannot be used to set the collection's "history" property.reactor.core.publisher.Mono
<Void> ReactiveCollectionManager.createCollection
(CollectionSpec collectionSpec, CreateCollectionOptions options) Deprecated.This method cannot be used to set the collection's "history" property.AsyncCollectionManager.dropCollection
(CollectionSpec collectionSpec) Deprecated.Please useAsyncCollectionManager.dropCollection(String, String)
instead.AsyncCollectionManager.dropCollection
(CollectionSpec collectionSpec, DropCollectionOptions options) Deprecated.Please useAsyncCollectionManager.dropCollection(String, String, DropCollectionOptions)
instead.void
CollectionManager.dropCollection
(CollectionSpec collectionSpec) Deprecated.Please useCollectionManager.dropCollection(String, String)
instead.void
CollectionManager.dropCollection
(CollectionSpec collectionSpec, DropCollectionOptions options) Deprecated.Please useCollectionManager.dropCollection(String, String, DropCollectionOptions)
instead.reactor.core.publisher.Mono
<Void> ReactiveCollectionManager.dropCollection
(CollectionSpec collectionSpec) Deprecated.Please useReactiveCollectionManager.dropCollection(String, String)
instead.reactor.core.publisher.Mono
<Void> ReactiveCollectionManager.dropCollection
(CollectionSpec collectionSpec, DropCollectionOptions options) Deprecated.Please useReactiveCollectionManager.dropCollection(String, String, DropCollectionOptions)
instead.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.