module Cassandra::CustomData::ClassMethods
Methods
type
Returns the custom type that this class represents.
deserialize
(data)Deserialize the given data into an instance of this domain object class.
This documentation is no longer maintained. For the latest information, see github.com/datastax/ruby-driver
Returns the custom type that this class represents.
| Type | Details |
|---|---|
Types::Custom |
the custom type that this class represents. |
| Type | Details |
|---|---|
NotImplementedError |
Deserialize the given data into an instance of this domain object class.
| Name | Type | Details |
|---|---|---|
| data | String |
byte-array representation of a column value of this custom type. |
| Type | Details |
|---|---|
| An instance of the domain object class. |
| Type | Details |
|---|---|
Errors::DecodingError |
upon failure. |