You can: 1) Define your own codec : http://datastax.github.io/java-driver/manual/custom_codecs/ 2) Use the InstantCodec from Java drive extra module: https://github.com/datastax/java-driver/blob/3.x/driver-extras/src/main/java/com/datastax/driver/extras/codecs/jdk8/InstantCodec.java
On Fri, Nov 4, 2016 at 8:39 AM, Ali Akhtar <ali.rac...@gmail.com> wrote: > Is it possible to use Instants to represent timestamp columns in java > mappings of cassandra tables? (Using the official java driver) >