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.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Serialize |
When overridden from a derived class, it encodes the CLR object into the byte representation
according to the Cassandra native protocol.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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. |