Can anyone tell me how to replication this old annotation from the Datastax 3.x series of drivers to the new 4.x series:
@Table(
name = "mytable",
readConsistency = "LOCAL_ONE",
writeConsistency = "LOCAL_QUORUM")
I got the name down: @CqlName("mytable"), just not the consistencies.
We use mappers exclusively in our code - they are fast, and did a lot of boiler-plate stuff for you in the 3.x driver. In 4.x, not so much and it's frustrating. There are some things we rely on that I just cannot figure out - like this.
Also (different question but I'll ask here). Can I set a profile on a session? Struggling with that one too.