TypeCodec
instances useful for
serializing between CQL types and Java 8 types, such as the ones from the
java.time
API and java.util.Optional
.See: Description
Class | Description |
---|---|
InstantCodec | |
LocalDateCodec | |
LocalTimeCodec | |
OptionalCodec<T> |
A codec that wraps other codecs around JDK 8's
Optional API. |
ZonedDateTimeCodec |
TypeCodec that maps
ZonedDateTime to CQL tuple<timestamp,varchar> ,
providing a pattern for maintaining timezone information in
Cassandra. |
TypeCodec
instances useful for
serializing between CQL types and Java 8 types, such as the ones from the
java.time
API and java.util.Optional
.
Note that, while the driver remains globally compatible with older JDKs,
classes in this package require the presence of a Java 8 or higher
at runtime.