Serves the same purpose as standard Scala CanBuildFrom
, however this one is Serializable
.
Chains together several converters converting to the same type.
Chains together several converters converting to the same type. This way you can extend functionality of any converter to support new input types.
Serializable representation of column data type.
Handles nullable types and converts any null to null.
Machinery for converting objects of any type received from Cassandra into objects of Scala types.
Machinery for converting objects of any type received from Cassandra into objects of Scala types.
Every converter knows how to convert object to one type. See TypeConverter
companion object for a list of available converters.
Formats timestamps and dates using CQL timestamp format yyyy-MM-dd HH:mm:ssZ
Parses CQL timestamps.
Parses CQL timestamps.
Supported formats:
yyyy-MM-dd HH:mm
yyyy-MM-dd HH:mmZ
yyyy-MM-dd HH:mm:ss
yyyy-MM-dd HH:mm:ssZ
yyyy-MM-dd HH:mm:ss.SSS
yyyy-MM-dd HH:mm:ss.SSSZ
yyyy-MM-dd'T'HH:mm
yyyy-MM-dd'T'HH:mmZ
yyyy-MM-dd'T'HH:mm:ss
yyyy-MM-dd'T'HH:mm:ssZ
yyyy-MM-dd'T'HH:mm:ss.SSS
yyyy-MM-dd'T'HH:mm:ss.SSSZ
yyyy-MM-dd
yyyy-MM-ddZ
Defines a set of converters and implicit functions used to look up an appropriate converter for a desired type.
Defines a set of converters and implicit functions used to look up an appropriate converter for
a desired type. Thanks to implicit method lookup, it is possible to implement a generic
method CassandraRow#get
, which picks up the right converter basing solely on its type argument.
Offers type conversion magic, so you can receive Cassandra column values in a form you like the most. Simply specify the type you want to use on the Scala side, and the column value will be converted automatically. Works also with complex objects like collections.