Serialized Form
-
Package com.datastax.astra.client.exception
-
Exception Class com.datastax.astra.client.exception.AuthenticationException
class AuthenticationException extends DataApiException implements Serializable- serialVersionUID:
- -4491748257797687008L
-
Exception Class com.datastax.astra.client.exception.DataApiException
class DataApiException extends RuntimeException implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
errorCode
String errorCode
Error.
-
-
Exception Class com.datastax.astra.client.exception.DataAPIFaultyResponseException
class DataAPIFaultyResponseException extends DataApiException implements Serializable-
Serialized Fields
-
command
Command command
Command which triggered the error. -
response
ApiResponse response
The Data API response associated with the error.
-
-
-
Exception Class com.datastax.astra.client.exception.DataApiResponseException
class DataApiResponseException extends DataApiException implements Serializable -
Exception Class com.datastax.astra.client.exception.TooManyDocumentsToCountException
class TooManyDocumentsToCountException extends Exception implements Serializable
-
-
Package com.datastax.astra.client.model
-
Class com.datastax.astra.client.model.Command
class Command extends Object implements Serializable -
Class com.datastax.astra.client.model.Command.CommandSerializer
class CommandSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Command> implements Serializable -
Class com.datastax.astra.client.model.Document
class Document extends Object implements Serializable -
Class com.datastax.astra.client.model.Filter
class Filter extends Document implements Serializable -
Class com.datastax.astra.client.model.ObjectId
class ObjectId extends Object implements Serializable-
Serialization Methods
-
readObject
Prevent normal deserialization.See https://docs.oracle.com/javase/6/docs/platform/serialization/spec/input.html
- Parameters:
stream
- the stream- Throws:
InvalidObjectException
- in all cases
-
writeReplace
Write the replacement object.See https://docs.oracle.com/javase/6/docs/platform/serialization/spec/output.html
-
-
Serialized Fields
-
counter
int counter
The counter. -
randomValue1
int randomValue1
the first four bits of randomness. -
randomValue2
short randomValue2
The last two bits of randomness. -
timestamp
int timestamp
The timestamp
-
-
-
Class com.datastax.astra.client.model.Update
class Update extends Document implements Serializable
-
-
Package com.datastax.astra.internal.api
-
Class com.datastax.astra.internal.api.ApiResponse
class ApiResponse extends Object implements Serializable-
Serialized Fields
-
status
Document status
Holds status information returned by the API for all operations except those prefixed with 'find'. This can include status codes, messages, or any other relevant status details in aDocument
format. The inclusion of this field in the response is conditional and based on the presence of status information.
-
-
-
-
Package com.datastax.astra.internal.command
-
Class com.datastax.astra.internal.command.ExecutionInfos
class ExecutionInfos extends Object implements Serializable-
Serialized Fields
-
command
Command command
The original command request that was executed. This field provides access to the details of the command that triggered the execution, allowing observers to understand what operation was performed. -
executionDate
Instant executionDate
The timestamp marking when the command execution was initiated. This information is useful for logging and monitoring purposes, allowing for the temporal correlation of command executions within the system. -
executionTime
long executionTime
The duration of time, in milliseconds, that the command execution took, from sending the request to receiving the response. This timing information can be used for performance monitoring and optimization. -
requestHttpHeaders
Map<String,
List<String>> requestHttpHeaders A map containing the HTTP headers from the request. -
requestUrl
String requestUrl
Request URL -
response
ApiResponse response
The rawApiResponse
received in response to the command execution. This field contains the complete response from the server, including any data, errors, or status information returned. -
responseHttpCode
int responseHttpCode
The HTTP status code returned by the server in response to the command execution. This code provides a standard way to indicate the result of the HTTP request (e.g., success, error, not found). -
responseHttpHeaders
Map<String,
String> responseHttpHeaders A map containing the HTTP headers from the response. These headers can provide additional context about the response, such as content type, caching policies, and other metadata.
-
-
-
-
Package com.datastax.astra.internal.utils
-
Class com.datastax.astra.internal.utils.CustomEJsonCalendarSerializer
class CustomEJsonCalendarSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Calendar> implements Serializable -
Class com.datastax.astra.internal.utils.CustomEJsonDateSerializer
class CustomEJsonDateSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Date> implements Serializable -
Class com.datastax.astra.internal.utils.CustomEJsonInstantSerializer
class CustomEJsonInstantSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Instant> implements Serializable -
Class com.datastax.astra.internal.utils.CustomObjectIdSerializer
class CustomObjectIdSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<ObjectId> implements Serializable -
Class com.datastax.astra.internal.utils.CustomUuidSerializer
class CustomUuidSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<UUID> implements Serializable -
Class com.datastax.astra.internal.utils.CustomUuidv6Serializer
class CustomUuidv6Serializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<UUIDv6> implements Serializable -
Class com.datastax.astra.internal.utils.CustomUuidv7Serializer
class CustomUuidv7Serializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<UUIDv7> implements Serializable
-