Uses of Class
com.couchbase.client.java.manager.collection.CollectionSpec
-
Uses of CollectionSpec in com.couchbase.client.java.manager.collection
Modifier 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.Modifier and TypeMethodDescriptionScopeSpec.collections()
Returns the underlying collections of this scope.Modifier 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.ReactiveCollectionManager.createCollection
(CollectionSpec collectionSpec) Deprecated.This method cannot be used to set the collection's "history" property.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.ReactiveCollectionManager.dropCollection
(CollectionSpec collectionSpec) Deprecated.Please useReactiveCollectionManager.dropCollection(String, String)
instead.ReactiveCollectionManager.dropCollection
(CollectionSpec collectionSpec, DropCollectionOptions options) Deprecated.Please useReactiveCollectionManager.dropCollection(String, String, DropCollectionOptions)
instead.Modifier and TypeMethodDescriptionstatic ScopeSpec
ScopeSpec.create
(String name, Set<CollectionSpec> collectionSpecs) Creates a newScopeSpec
with a set ofCollectionSpec
s.