I am writing a Java application that connects to a Cassandra database within Microsoft Azure CosmosDB. As per the documentation page at https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-manage-consistency, cosmosdb has an option to set the consistency level for a read operation. I am, however, unable to find examples of how to do this while using the SQL API for cassandra. I am extending the example provided by Microsoft at https://github.com/Azure-Samples/azure-cosmos-db-cassandra-java-getting-started. The example uses the datastax driver cassandra.
Is it possible to set the consistency level using this driver?