I did not find a clean way to register converters using spring -data-cassandra.
You can use java.util.Date for your fields (the infrastructure will access them through reflection) and use encapsulation to provide the type you need:
@Table("measure") public class Measure { @PrimaryKey("id") private String id; @Column("timestamp") private java.util.Date timestamp; @Column("data") private Double data; public DateTime getTimestamp() {
source share