The tarball which I downloaded from the datastax lab does not have InventoryMapperBuilder code.
Bringing together the Apache Cassandra experts from the community and DataStax.
Want to learn? Have a question? Want to share your expertise? You are in the right place!
Not sure where to begin? Getting Started
the InventoryMapperBuilder class is generated code based on your annotations.
java-driver-mapper-processor artifact contains the annotation processor. It hooks into the Java compiler, and generates additional source files from your annotated classes before the main compilation happens.
Have a look at the driver documentation here:
You would need to generate the class first.
Also a note re the lab release of the Datastax java driver spring boot starter. As far as I know it is no longer developed.
The recommendation is now to go with Spring Data Cassandra.
For an example using the Mapper, check out the Cassandra Workshop Series, week 4, Getting Started with Astra Java:
I hope this helps!
6 People are following this question.