Uses of Class
com.datastax.astra.client.collections.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
ModifierConstructorDescriptionCollection
(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
Modifier 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.