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:
createCollection
in interfaceCoreCollectionManager
-
createScope
public CompletableFuture<Void> createScope(String scopeName, CoreCommonOptions options)
- Specified by:
createScope
in interfaceCoreCollectionManager
-
dropCollection
public CompletableFuture<Void> dropCollection(String scopeName, String collectionName, CoreCommonOptions options)
- Specified by:
dropCollection
in interfaceCoreCollectionManager
-
dropScope
public CompletableFuture<Void> dropScope(String scopeName, CoreCommonOptions options)
- Specified by:
dropScope
in interfaceCoreCollectionManager
-
getAllScopes
public CompletableFuture<CollectionsManifest> getAllScopes(CoreCommonOptions options)
- Specified by:
getAllScopes
in interfaceCoreCollectionManager
-
-