Currently, I have setup a project with springboot, I can use the CassandraRepository to query the data from cassandra database.
But now, I have faced some problems:
- How can I use the BatchStatment in cassandra with CassandraRepository?
- How to create the Statement by CassandraRepository?
I want to use BatchStatment.add(Statement) to implement the batch query.
MappingManager.getSession().execute(statement)