DataStax API for mapping Java types to Cassandra Types

by blackcompe   Last Updated October 16, 2019 20:26 PM - source

does anyone know of a DataStax API to get what Cassandra native type will be used for a non-annotated field in an @Table pojo? E.g.

private byte age; //maps to tinyint



Answers 1


The CQL data type to Java type can be found here. I don't think there is an actual API that will return these values.

Abhishek Garg
Abhishek Garg
October 16, 2019 20:25 PM

Related Questions



What's right query?

Updated July 08, 2017 08:26 AM