Uses of Class
com.datastax.astra.client.model.CollectionOptions
Package
Description
Entrypoint and core classes for the client.
Domain model classes with
Requests
, Results
, Options
and Iterables
.-
Uses of CollectionOptions in com.datastax.astra.client
Modifier and TypeMethodDescriptionCollection.getOptions()
Retrieves the configuration options for the collection, including vector and indexing settings.Modifier and TypeMethodDescriptionDatabase.createCollection
(String collectionName, CollectionOptions collectionOptions) Create a new collection with the given name.Database.createCollection
(String collectionName, CollectionOptions collectionOptions, CommandOptions<?> commandOptions) Create a new collection with the given name.<T> Collection
<T> Database.createCollection
(String collectionName, CollectionOptions collectionOptions, CommandOptions<?> commandOptions, Class<T> documentClass) Create a new collection with the selected options<T> Collection
<T> Database.createCollection
(String collectionName, CollectionOptions collectionOptions, Class<T> documentClass) Create a new collection with the given name. -
Uses of CollectionOptions in com.datastax.astra.client.model
Modifier and TypeMethodDescriptionCollectionOptions.CollectionOptionsBuilder.build()
Build the output.