Uses of Class
com.datastax.astra.client.collections.CollectionOptions
Packages that use CollectionOptions
Package
Description
Top package to interact with Collections
Top package to interact with Databases and Keyspaces.
-
Uses of CollectionOptions in com.datastax.astra.client.collections
Constructors in com.datastax.astra.client.collections with parameters of type CollectionOptionsModifierConstructorDescriptionCollection
(Database db, String collectionName, CollectionOptions collectionOptions, Class<T> documentClass) Constructs an instance of a collection within the specified database. -
Uses of CollectionOptions in com.datastax.astra.client.databases
Methods in com.datastax.astra.client.databases with parameters of type CollectionOptionsModifier and TypeMethodDescriptionDatabase.getCollection
(String collectionName, CollectionOptions collectionOptions) Retrieves aCollection
object for the specified collection name with the ability to specify custom options.<T> Collection
<T> Database.getCollection
(String collectionName, Class<T> documentClass, CollectionOptions options) Retrieves aCollection
object for the specified collection name with custom options and document type.