Class CustomTypeSerializer<T>
Base serializer for custom types.
Inherited Members
Namespace: Cassandra.Serialization
Assembly: Cassandra.dll
Syntax
public abstract class CustomTypeSerializer<T> : TypeSerializer<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
CustomTypeSerializer(string)
Creates a new instance of the serializer for custom types.
Declaration
protected CustomTypeSerializer(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Fully qualified name of the custom type |
Properties
CqlType
Returns the Cassandra data type for the serializer.
Declaration
public override ColumnTypeCode CqlType { get; }
Property Value
Type | Description |
---|---|
ColumnTypeCode |
Overrides
TypeInfo
Gets the type information for which this serializer is valid.
Intended for non-primitive types such as custom types and UDTs.
For primitive types, it should return null
.
Declaration
public override IColumnInfo TypeInfo { get; }
Property Value
Type | Description |
---|---|
IColumnInfo |