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
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.
I ended up using the CodecRegistry with a combination of reflective code to get all the available codecs to build a map of Java types to CqlTypes.
edit
Obtaining a bean reference to CassandraMappingContext is even easier.