Uses of Class
com.datastax.astra.client.model.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
Modifier 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
ModifierConstructorDescriptionDataAPIFaultyResponseException
(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
Modifier 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.Modifier 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
ModifierConstructorDescriptionCommandSerializer
(Class<Command> clazz) Constructor with the class in used. -
Uses of Command in com.datastax.astra.internal.command
Modifier 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.