TypeCodec
instances useful for serializing between CQL types and Joda Time types such as DateTime
.See: Description
Class | Description |
---|---|
DateTimeCodec |
TypeCodec that maps DateTime to CQL tuple<timestamp,varchar> , providing a
pattern for maintaining timezone information in Cassandra. |
InstantCodec |
TypeCodec that maps Instant to CQL timestamp allowing the setting and
retrieval of timestamp columns as Instant instances. |
LocalDateCodec | |
LocalTimeCodec |
TypeCodec
instances useful for serializing between CQL types and Joda Time types such as DateTime
.
Note that classes in this package require the presence of Joda Time library at runtime. If you use Maven, this can be done by declaring the following dependency in your project:
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.1</version>
</dependency>
Copyright © 2012–2020. All rights reserved.