Uses of Class
com.datastax.astra.client.model.Command
Packages that use Command
Package
Description
Entrypoint and core classes for the client.
Exceptions specialized checked and unchecked thrown by the client.
Domain model classes with
Requests
, Results
, Options
and Iterables
.Internal technical classes to run commands against the API.
-
Uses of Command in com.datastax.astra.client
Method parameters in com.datastax.astra.client with type arguments of type CommandModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Collection.bulkWrite
(List<Command> commands, BulkWriteOptions options) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Command in com.datastax.astra.client.exception
Constructors in com.datastax.astra.client.exception with parameters of type CommandModifierConstructorDescriptionDataAPIFaultyResponseException
(Command cmd, ApiResponse res, String msg) Constructs a new exception with the specified command that triggered the error, the API response received, and a custom error message. -
Uses of Command in com.datastax.astra.client.model
Methods in com.datastax.astra.client.model that return CommandModifier and TypeMethodDescriptionBuilder pattern, update documents.static Command
Create an empty command from its name.Command.withDocument
(Object document) Builder pattern, update document.<T> Command
Command.withDocuments
(List<T> documents) Builder pattern, update documents.Command.withFilter
(Filter filter) Builder pattern, update filter.Command.withOptions
(Object options) Builder pattern, update options.Command.withProjection
(Map<String, Object> projection) Builder pattern, update projection.Command.withReplacement
(Object replacement) Builder pattern, update replacement document.Builder pattern, update sort.Command.withUpdate
(Update update) Builder pattern, Update.Methods in com.datastax.astra.client.model with parameters of type CommandModifier and TypeMethodDescriptiondefault ApiResponse
CommandRunner.runCommand
(Command command) Command to return the payload as a Map.CommandRunner.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.default <T> T
CommandRunner.runCommand
(Command command, Class<T> documentClass) Extension point to run any command with typing constraints.void
Constructor parameters in com.datastax.astra.client.model with type arguments of type CommandModifierConstructorDescriptionCommandSerializer
(Class<Command> clazz) Constructor with the class in used. -
Uses of Command in com.datastax.astra.internal.command
Methods in com.datastax.astra.internal.command with parameters of type CommandModifier 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.ExecutionInfos.DataApiExecutionInfoBuilder.withCommand
(Command command) Populate after http call.