Namespace DataStax.AstraDB.DataApi.SerDes
Classes
- AnalyzerOptionsConverter
JSON converter for AnalyzerOptions, supporting both shorthand (string tokenizer name) and full object representations used in text/lexical search configuration.
- ByteArrayAsBinaryJsonConverter
JSON converter that serializes and deserializes byte arrays using the Data API binary format:
{ "$binary": "<base64>" }.
- ColumnMappingAttribute
Marks a property on a table row as a special field for the database's use.
- DateTimeAsDollarDateConverter<T>
A custom converter to handle DataAPI DateTime values
- DocumentConverter<T>
A custom converter to handle converting documents to and from JSON using the DocumentMappingAttribute to handle DataAPI-specific properties.
- DocumentIdAttribute
Marks a property on a document as the unique ID
- DocumentMappingAttribute
Marks a property on a collection document as a special field for the database's use.
- DurationConverter
JSON converter for the Duration type, converting between the CQL duration string representation and JSON string values.
- FilterConverterFactory
Factory that creates FilterConverter<T> instances for any closed
Filter<T>type encountered during serialization.
- FilterConverter<T>
JSON converter for Filter<T>, serializing each filter as a single-property JSON object keyed by the filter's field name.
- FloatArrayJsonConverterBase
JSON converter for float arrays. Serializes as a JSON array (
[1.0, 2.0]) and deserializes from either a JSON array or the Data API binary format ({ "$binary": "<base64>" }). Use FloatBinaryWriter to serialize as binary instead.
- FloatArrayWriter
Serializes a float array to a JSON array:
[1.0, 2.0, 3.0]. Deserializes from either JSON array or binary format.
- FloatBinaryWriter
Serializes a float array to the Data API binary format:
{ "$binary": "<base64>" }with big-endian IEEE 754 encoding. Deserializes from either binary or JSON array format.
- GuidConverter
A custom converter to handle serialization and deserialization of Guid values
- IdListConverter
A custom converter to handle serialization and deserialization of a list of IDs
- IndexColumnConverter
A custom converter to handle serdes of the index definition's "column" multiform attribute (e.g.
"my_column"vs.{"my_map_column": "$values}).
- IpAddressConverter
JSON converter for IPAddress, serializing and deserializing IP addresses as their standard string representation (e.g., "192.168.1.1" or "::1").
- JsonStringConverter<T>
JSON converter that stores a value of type
Tas a raw JSON string (i.e., the object is serialized to JSON and that JSON is stored as a string value, and vice versa).
- ObjectIdConverter
A custom converter to handle serialization and deserialization of ObjectId values
- RowConverter<T>
JSON converter for table row objects of type
T, handling the mapping between .NET properties and the Data API row format, including support for column name attributes, vectorize columns, JSON string columns, and non-string-keyed dictionary columns.
- TableBaseIndexDefinitionConverter
Custom converter for polymorphic deserialization of TableBaseIndexDefinition based on the indexType field from the parent TableIndexMetadata object.
- TableIndexMetadataConverter
Custom converter for TableIndexMetadata that handles polymorphic deserialization of the Definition property based on the indexType field.
Enums
- ColumnMappingField
Special field types for table rows.
- DocumentMappingField
Special field types for collection documents.