TypeSerializerT Class |
Namespace: Cassandra.Serialization
public abstract class TypeSerializer<T> : TypeSerializer, ITypeSerializer
The TypeSerializerT type exposes the following members.
Name | Description | |
---|---|---|
Deserialize |
When overridden from a derived class, it reads the byte buffer and returns the CLR representation of the
data type.
| |
Serialize |
When overridden from a derived class, it encodes the CLR object into the byte representation
according to the Cassandra native protocol.
|
Name | Description | |
---|---|---|
CqlType |
Returns the Cassandra data type for the serializer.
| |
Type |
Gets the CLR type for this serializer.
| |
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. |