Serialized Form
-
Package com.datastax.astra.client.collections.commands
-
Class com.datastax.astra.client.collections.commands.Update
class Update extends Document implements Serializable
-
-
Package com.datastax.astra.client.collections.definition.documents
-
Class com.datastax.astra.client.collections.definition.documents.Document
class Document extends Object implements Serializable
-
-
Package com.datastax.astra.client.collections.definition.documents.types
-
Class com.datastax.astra.client.collections.definition.documents.types.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
-
-
-
-
Package com.datastax.astra.client.collections.exceptions
-
Exception Class com.datastax.astra.client.collections.exceptions.TooManyDocumentsToCountException
class TooManyDocumentsToCountException extends DataAPIException implements Serializable
-
-
Package com.datastax.astra.client.core.commands
-
Class com.datastax.astra.client.core.commands.Command
class Command extends Object implements Serializable -
Class com.datastax.astra.client.core.commands.Command.CommandSerializer
class CommandSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Command> implements Serializable
-
-
Package com.datastax.astra.client.core.query
-
Class com.datastax.astra.client.core.query.Filter
class Filter extends Document implements Serializable
-
-
Package com.datastax.astra.client.core.vector
-
Class com.datastax.astra.client.core.vector.DataAPIVector
class DataAPIVector extends Object implements Serializable-
Serialized Fields
-
embeddings
float[] embeddings
Embeddings list of the vector.
-
-
-
-
Package com.datastax.astra.client.exceptions
-
Exception Class com.datastax.astra.client.exceptions.CursorException
class CursorException extends DataAPIException implements Serializable-
Serialized Fields
-
state
String state
The state of the cursor when the exception was thrown.
-
-
-
Exception Class com.datastax.astra.client.exceptions.DataAPIErrorDescriptor
class DataAPIErrorDescriptor extends RuntimeException implements Serializable-
Serialized Fields
-
errorCode
String errorCode
A specific code associated with the error, allowing for easier identification and handling of different types of errors. Error codes are typically defined by the API and can be used for programmatic responses to specific conditions. -
exceptionClass
String exceptionClass
The name of the exception class that was thrown, providing insight into the type of error that occurred. This can be useful for debugging purposes, as it gives developers a hint about the underlying cause of the error. -
family
String family
The name of the family of the error. -
id
String id
It needs to be a String for umarshalling in with the DocumentSerializer without the $uuid -
message
String message
The detailed message describing the error. This message is intended to provide developers and end-users with understandable information about what went wrong during the API call. -
scope
String scope
The name of the error. -
title
String title
The title of the error.
-
-
-
Exception Class com.datastax.astra.client.exceptions.DataAPIException
class DataAPIException extends RuntimeException implements Serializable-
Serialized Fields
-
errorCode
String errorCode
Error.
-
-
-
Exception Class com.datastax.astra.client.exceptions.DataAPIHttpException
class DataAPIHttpException extends DataAPIException implements Serializable -
Exception Class com.datastax.astra.client.exceptions.DataAPIResponseException
class DataAPIResponseException extends DataAPIException implements Serializable -
Exception Class com.datastax.astra.client.exceptions.DataAPITimeoutException
class DataAPITimeoutException extends DataAPIHttpException implements Serializable -
Exception Class com.datastax.astra.client.exceptions.InvalidConfigurationException
class InvalidConfigurationException extends DataAPIException implements Serializable -
Exception Class com.datastax.astra.client.exceptions.InvalidEnvironmentException
class InvalidEnvironmentException extends DataAPIException implements Serializable -
Exception Class com.datastax.astra.client.exceptions.UnexpectedDataAPIResponseException
class UnexpectedDataAPIResponseException extends DataAPIException implements Serializable-
Serialized Fields
-
command
Command command
Command which triggered the error. -
response
DataAPIResponse response
The Data API response associated with the error.
-
-
-
-
Package com.datastax.astra.client.tables.commands
-
Class com.datastax.astra.client.tables.commands.TableUpdateOperation
class TableUpdateOperation extends Row implements Serializable
-
-
Package com.datastax.astra.client.tables.definition.rows
-
Class com.datastax.astra.client.tables.definition.rows.Row
class Row extends Object implements Serializable
-
-
Package com.datastax.astra.client.tables.exceptions
-
Exception Class com.datastax.astra.client.tables.exceptions.TooManyRowsToCountException
class TooManyRowsToCountException extends DataAPIException implements Serializable
-
-
Package com.datastax.astra.internal.api
-
Class com.datastax.astra.internal.api.DataAPIDocumentResponse
class DataAPIDocumentResponse extends Object implements Serializable -
Class com.datastax.astra.internal.api.DataAPIResponse
class DataAPIResponse extends Object implements Serializable-
Serialized Fields
-
serializer
DataAPISerializer serializer
TheDataAPISerializer
instance used to serialize and deserialize data objects. -
status
DataAPIStatus 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
-
baseOptions
BaseOptions<?> baseOptions
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. -
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. -
overridingBaseOptions
BaseOptions<?> overridingBaseOptions
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. -
requestHttpHeaders
Map<String,
List<String>> requestHttpHeaders A map containing the HTTP headers from the request. -
requestUrl
String requestUrl
Request URL -
response
DataAPIResponse response
The rawDataAPIResponse
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. -
serializer
DataAPISerializer serializer
The serializer used to serialize and deserialize data objects.
-
-
-
-
Package com.datastax.astra.internal.serdes.collections
-
Class com.datastax.astra.internal.serdes.collections.CollectionDefaultIdTypeSerializer
class CollectionDefaultIdTypeSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<CollectionDefaultIdTypes> implements Serializable -
Class com.datastax.astra.internal.serdes.collections.EJsonCalendarSerializer
class EJsonCalendarSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Calendar> implements Serializable -
Class com.datastax.astra.internal.serdes.collections.EJsonDateSerializer
class EJsonDateSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Date> implements Serializable -
Class com.datastax.astra.internal.serdes.collections.EJsonInstantSerializer
class EJsonInstantSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Instant> implements Serializable -
Class com.datastax.astra.internal.serdes.collections.ObjectIdSerializer
class ObjectIdSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<ObjectId> implements Serializable -
Class com.datastax.astra.internal.serdes.collections.UUID6Serializer
class UUID6Serializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<UUIDv6> implements Serializable -
Class com.datastax.astra.internal.serdes.collections.UUID7Serializer
class UUID7Serializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<UUIDv7> implements Serializable -
Class com.datastax.astra.internal.serdes.collections.UUIDSerializer
class UUIDSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<UUID> implements Serializable
-
-
Package com.datastax.astra.internal.serdes.shared
-
Package com.datastax.astra.internal.serdes.tables
-
Class com.datastax.astra.internal.serdes.tables.ByteArrayDeserializer
class ByteArrayDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<byte[]> implements Serializable -
Class com.datastax.astra.internal.serdes.tables.ByteArraySerializer
class ByteArraySerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<byte[]> implements Serializable -
Class com.datastax.astra.internal.serdes.tables.ColumnTypeSerializer
class ColumnTypeSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<ColumnTypes> implements Serializable -
Class com.datastax.astra.internal.serdes.tables.DoubleDeserializer
class DoubleDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<Double> implements Serializable -
Class com.datastax.astra.internal.serdes.tables.DoubleSerializer
class DoubleSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Double> implements Serializable -
Class com.datastax.astra.internal.serdes.tables.DurationSerializer
class DurationSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Duration> implements Serializable -
Class com.datastax.astra.internal.serdes.tables.FloatDeserializer
class FloatDeserializer extends com.fasterxml.jackson.databind.deser.std.StdDeserializer<Float> implements Serializable -
Class com.datastax.astra.internal.serdes.tables.FloatSerializer
class FloatSerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Float> implements Serializable
-