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 TypeMethodDescription<T> Collection<T> Database.getCollection(Class<T> documentClass, CollectionOptions options) Retrieves aCollectionobject for a class annotated withDataApiCollectionwith custom options.Database.getCollection(String collectionName, CollectionOptions collectionOptions) Retrieves aCollectionobject 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 aCollectionobject for the specified collection name with custom options and document type.