Uses of Class
com.datastax.astra.client.model.CommandOptions
Packages that use 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
Methods in com.datastax.astra.client with parameters of type CommandOptionsModifier 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.Constructors in com.datastax.astra.client with parameters of type CommandOptionsModifierConstructorDescriptionprotected
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
Classes in com.datastax.astra.client.model with type parameters of type CommandOptionsModifier and TypeClassDescriptionclass
CommandOptions<T extends CommandOptions<T>>
Options that will be provided to all commands for this collection.Subclasses of CommandOptions in com.datastax.astra.client.modelModifier 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 operationMethods in com.datastax.astra.client.model with parameters of type CommandOptionsModifier 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
Fields in com.datastax.astra.internal.command declared as CommandOptionsModifier and TypeFieldDescriptionprotected CommandOptions
<?> AbstractCommandRunner.commandOptions
Default command options when not overrideMethods in com.datastax.astra.internal.command with parameters of type CommandOptionsModifier 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.