Making queries

This driver supports all query types available in Scylla:

  • Simple queries

    • Easy to use

    • Poor performance

    • Primitve load balancing

  • Prepared queries

    • Need to be prepared before use

    • Fast

    • Properly load balanced

  • Batch statements

    • Run multiple queries at once

    • Can be prepared for better performance and load balancing

  • Paged queries

    • Allows to read result in multiple pages when it doesn’t fit in a single response

    • Can be prepared for better performance and load balancing

Additionaly there is special functionality to enable USE KEYSPACE queries: USE keyspace

Queries are fully asynchronous - you can run as many of them in parallel as you wish.