Uses of Class
com.datastax.astra.client.model.CommandOptions
Package
Description
Entrypoint and core classes for the client.
Domain model classes with
Requests
, Results
, Options
and Iterables
.Internal technical classes to run commands against the API.
-
Uses of CommandOptions in com.datastax.astra.client
Modifier and TypeMethodDescriptionDatabase.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.getCollection
(String collectionName, CommandOptions<?> commandOptions, @NonNull Class<T> documentClass) Gets a collection, with a specific default document class.ModifierConstructorDescriptionprotected
Collection
(Database db, String collectionName, CommandOptions<?> commandOptions, Class<T> clazz) Constructs an instance of a collection within the specified database. -
Uses of CommandOptions in com.datastax.astra.client.model
Modifier and TypeClassDescriptionclass
CommandOptions<T extends CommandOptions<T>>
Options that will be provided to all commands for this collection.Modifier and TypeClassDescriptionfinal class
Options used in the `bulkWrite` command.class
List Options for a FindOne command.class
Options to delete many documents.class
Options to delete One document.class
List Options for a FindOne command.class
Options to find one and delete.class
Options used in the `findAndReplace` command.class
List options for a findOneAndUpdate command.class
List Options for a FindOne command.class
List Options for a FindOne command.class
Options for InsertManyclass
Options for InsertOneclass
Options for the replaceOne operation.class
Options for the updateOne operationclass
Options for the updateOne operationModifier and TypeMethodDescriptionCommandRunner.runCommand
(Command command, CommandOptions<?> options) Command to return the payload as a Map.<T> T
CommandRunner.runCommand
(Command command, CommandOptions<?> options, Class<T> documentClass) Extension point to run any command with typing constraints. -
Uses of CommandOptions in com.datastax.astra.internal.command
Modifier and TypeFieldDescriptionprotected CommandOptions
<?> AbstractCommandRunner.commandOptions
Default command options when not overrideModifier and TypeMethodDescriptionAbstractCommandRunner.runCommand
(Command command, CommandOptions<?> overridingOptions) Command to return the payload as a Map.<T> T
AbstractCommandRunner.runCommand
(Command command, CommandOptions<?> options, Class<T> documentClass) Extension point to run any command with typing constraints.