Uses of Class
com.datastax.astra.internal.api.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
Modifier 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
ModifierConstructorDescriptionUnexpectedDataAPIResponseException
(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
Modifier and TypeMethodDescriptionAbstractCommandRunner.runCommand
(Command command, BaseOptions<?> overridingOptions) Command to return the payload as a Map.Modifier and TypeMethodDescriptionprotected <DOC> DOC
AbstractCommandRunner.unmarshall
(DataAPIResponse api, Class<DOC> documentClass) Document Mapping.void
ExecutionInfos.DataApiExecutionInfoBuilder.withApiResponse
(DataAPIResponse response) Populate after http call.