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
ConstructorDescriptionProtostellarCoreCollectionManagerOps
(CoreProtostellar core, String bucketName) -
Method Summary
Modifier and TypeMethodDescriptioncreateCollection
(String scopeName, String collectionName, CoreCreateOrUpdateCollectionSettings settings, CoreCommonOptions options) createScope
(String scopeName, CoreCommonOptions options) dropCollection
(String scopeName, String collectionName, CoreCommonOptions options) dropScope
(String scopeName, CoreCommonOptions options) getAllScopes
(CoreCommonOptions options) updateCollection
(String scopeName, String collectionName, CoreCreateOrUpdateCollectionSettings settings, CoreCommonOptions options)
-
Constructor Details
-
ProtostellarCoreCollectionManagerOps
-
-
Method Details
-
createCollection
public CompletableFuture<Void> createCollection(String scopeName, String collectionName, CoreCreateOrUpdateCollectionSettings settings, CoreCommonOptions options) - Specified by:
createCollection
in interfaceCoreCollectionManager
-
updateCollection
public CompletableFuture<Void> updateCollection(String scopeName, String collectionName, CoreCreateOrUpdateCollectionSettings settings, CoreCommonOptions options) - Specified by:
updateCollection
in interfaceCoreCollectionManager
-
createScope
- Specified by:
createScope
in interfaceCoreCollectionManager
-
dropCollection
public CompletableFuture<Void> dropCollection(String scopeName, String collectionName, CoreCommonOptions options) - Specified by:
dropCollection
in interfaceCoreCollectionManager
-
dropScope
- Specified by:
dropScope
in interfaceCoreCollectionManager
-
getAllScopes
- Specified by:
getAllScopes
in interfaceCoreCollectionManager
-