Uses of Class
com.datastax.astra.internal.api.DataAPIResponse
Packages that use DataAPIResponse
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 DataAPIResponse in com.datastax.astra.client.core.commands
Methods in com.datastax.astra.client.core.commands that return DataAPIResponseModifier and TypeMethodDescriptiondefault DataAPIResponse
CommandRunner.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. -
Uses of DataAPIResponse in com.datastax.astra.client.exceptions
Constructors in com.datastax.astra.client.exceptions with parameters of type DataAPIResponseModifierConstructorDescriptionUnexpectedDataAPIResponseException
(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 DataAPIResponse in com.datastax.astra.internal.command
Methods in com.datastax.astra.internal.command that return DataAPIResponseModifier and TypeMethodDescriptionAbstractCommandRunner.runCommand
(Command command, BaseOptions<?> overridingOptions) Command to return the payload as a Map.Methods in com.datastax.astra.internal.command with parameters of type DataAPIResponseModifier and TypeMethodDescriptionprotected <DOC> DOC
AbstractCommandRunner.unmarshall
(DataAPIResponse api, Class<DOC> documentClass) Document Mapping.void
ExecutionInfos.DataApiExecutionInfoBuilder.withApiResponse
(DataAPIResponse response) Populate after http call.