Uses of Class
com.datastax.astra.client.collections.commands.options.CreateCollectionOptions
Package
Description
Top package to interact with Databases and Keyspaces.
-
Uses of CreateCollectionOptions in com.datastax.astra.client.databases
Modifier and TypeMethodDescriptionDatabase.createCollection
(String collectionName, CollectionDefinition collectionDefinition, CreateCollectionOptions createCollectionOptions) Creates a new collection with a specified definition, options, and the default document typeDocument
.<T> Collection
<T> Database.createCollection
(String collectionName, CollectionDefinition collectionDefinition, Class<T> documentClass, CreateCollectionOptions createCollectionOptions) Creates a new collection in the database.