Interface ITypeAdapter
DEPRECATED, use TypeSerializer<T> instead. Represents a adapter to convert a Cassandra type to a CLR type.
Namespace: Cassandra
Assembly: Cassandra.dll
Syntax
public interface ITypeAdapter
Methods
ConvertFrom(byte[])
Declaration
object ConvertFrom(byte[] decimalBuf)
Parameters
Type | Name | Description |
---|---|---|
byte[] | decimalBuf |
Returns
Type | Description |
---|---|
object |
ConvertTo(object)
Declaration
byte[] ConvertTo(object value)
Parameters
Type | Name | Description |
---|---|---|
object | value |
Returns
Type | Description |
---|---|
byte[] |
GetDataType()
Declaration
Type GetDataType()
Returns
Type | Description |
---|---|
Type |