Class ProtostellarCoreCollectionManagerOps
- java.lang.Object
-
- com.couchbase.client.core.protostellar.manager.ProtostellarCoreCollectionManagerOps
-
- All Implemented Interfaces:
CoreCollectionManager
@Internal public final class ProtostellarCoreCollectionManagerOps extends Object implements CoreCollectionManager
-
-
Constructor Summary
Constructors Constructor Description ProtostellarCoreCollectionManagerOps(CoreProtostellar core, String bucketName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Void>createCollection(String scopeName, String collectionName, Duration maxTTL, CoreCommonOptions options)CompletableFuture<Void>createScope(String scopeName, CoreCommonOptions options)CompletableFuture<Void>dropCollection(String scopeName, String collectionName, CoreCommonOptions options)CompletableFuture<Void>dropScope(String scopeName, CoreCommonOptions options)CompletableFuture<CollectionsManifest>getAllScopes(CoreCommonOptions options)
-
-
-
Constructor Detail
-
ProtostellarCoreCollectionManagerOps
public ProtostellarCoreCollectionManagerOps(CoreProtostellar core, String bucketName)
-
-
Method Detail
-
createCollection
public CompletableFuture<Void> createCollection(String scopeName, String collectionName, Duration maxTTL, CoreCommonOptions options)
- Specified by:
createCollectionin interfaceCoreCollectionManager
-
createScope
public CompletableFuture<Void> createScope(String scopeName, CoreCommonOptions options)
- Specified by:
createScopein interfaceCoreCollectionManager
-
dropCollection
public CompletableFuture<Void> dropCollection(String scopeName, String collectionName, CoreCommonOptions options)
- Specified by:
dropCollectionin interfaceCoreCollectionManager
-
dropScope
public CompletableFuture<Void> dropScope(String scopeName, CoreCommonOptions options)
- Specified by:
dropScopein interfaceCoreCollectionManager
-
getAllScopes
public CompletableFuture<CollectionsManifest> getAllScopes(CoreCommonOptions options)
- Specified by:
getAllScopesin interfaceCoreCollectionManager
-
-