Uses of Class
com.datastax.astra.client.core.commands.Command
Packages that use Command
Package
Description
Utility classes for commands and operations.
Exceptions specialized checked and unchecked thrown by the client.
Internal technical classes to run commands against the API.
-
Uses of Command in com.datastax.astra.client.core.commands
Methods in com.datastax.astra.client.core.commands that return CommandModifier and TypeMethodDescriptionBuilder pattern, update documents.static CommandCreate an empty command from its name.Command.withDocument(Object document) Builder pattern, update document.<T> CommandCommand.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(Projection... pProjections) Return projections.Command.withProjection(Map<String, Boolean> 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.Command.withUpdate(TableUpdateOperation update) Builder pattern, Update.Methods in com.datastax.astra.client.core.commands with parameters of type CommandModifier and TypeMethodDescriptiondefault DataAPIResponseCommandRunner.runCommand(Command command) Command to return the payload as a Map.CommandRunner.runCommand(Command command, BaseOptions<?> options) Command to return the payload as a Map.<T> TCommandRunner.runCommand(Command command, BaseOptions<?> options, Class<T> documentClass) Extension point to run any command with typing constraints.default <T> TCommandRunner.runCommand(Command command, Class<T> documentClass) Extension point to run any command with typing constraints.voidConstructor parameters in com.datastax.astra.client.core.commands with type arguments of type CommandModifierConstructorDescriptionCommandSerializer(Class<Command> clazz) Constructor with the class in used. -
Uses of Command in com.datastax.astra.client.exceptions
Constructors in com.datastax.astra.client.exceptions with parameters of type CommandModifierConstructorDescriptionUnexpectedDataAPIResponseException(Command cmd, DataAPIResponse 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.internal.command
Methods in com.datastax.astra.internal.command with parameters of type CommandModifier and TypeMethodDescriptionAbstractCommandRunner.runCommand(Command command, BaseOptions<?> overridingOptions) Command to return the payload as a Map.<DOC> DOCAbstractCommandRunner.runCommand(Command command, BaseOptions<?> options, Class<DOC> documentClass) Extension point to run any command with typing constraints.ExecutionInfos.DataApiExecutionInfoBuilder.withCommand(Command command) Populate after http call.