Uses of Class
com.datastax.astra.internal.api.ApiResponse
Packages that use ApiResponse
Package
Description
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 ApiResponse in com.datastax.astra.client.exception
Constructors in com.datastax.astra.client.exception with parameters of type ApiResponseModifierConstructorDescriptionDataAPIFaultyResponseException
(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 ApiResponse in com.datastax.astra.client.model
Methods in com.datastax.astra.client.model that return ApiResponseModifier 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. -
Uses of ApiResponse in com.datastax.astra.internal.command
Methods in com.datastax.astra.internal.command that return ApiResponseModifier and TypeMethodDescriptionAbstractCommandRunner.runCommand
(Command command, CommandOptions<?> overridingOptions) Command to return the payload as a Map.Methods in com.datastax.astra.internal.command with parameters of type ApiResponseModifier and TypeMethodDescriptionprotected <T> T
AbstractCommandRunner.mapAsDocument
(ApiResponse api, Class<T> documentClass) Document Mapping.void
ExecutionInfos.DataApiExecutionInfoBuilder.withApiResponse
(ApiResponse response) Populate after http call.