Skip navigation links

Package com.datastax.driver.extras.codecs.jdk8

This package contains a collection of convenience TypeCodec instances useful for serializing between CQL types and JDK 8 types, such as the ones from the java.time API and Optional.

See: Description

Package com.datastax.driver.extras.codecs.jdk8 Description

This package contains a collection of convenience TypeCodec instances useful for serializing between CQL types and JDK 8 types, such as the ones from the java.time API and Optional.

The codecs in this class provide the following mappings:

Codec CQL type JDK 8 type
OptionalCodec Any Optional
LocalTimeCodec time LocalTime
LocalDateCodec date LocalDate
InstantCodec timestamp Instant
ZonedDateTimeCodec tuple of (timestamp, varchar) ZonedDateTime
Skip navigation links

Copyright © 2012–2015. All rights reserved.