vertx / io.vertx.kotlin.cassandra / io.vertx.cassandra.CassandraClient

Extensions for io.vertx.cassandra.CassandraClient

connectAwait

suspend fun CassandraClient.connectAwait(): Unit
suspend fun CassandraClient.connectAwait(keyspace: String): Unit

Connect to a Cassandra service.

disconnectAwait

suspend fun CassandraClient.disconnectAwait(): Unit

Disconnects from the Cassandra service.

executeAwait

suspend fun CassandraClient.executeAwait(query: String): ResultSet

Execute the query and provide a handler for consuming results.

queryStreamAwait

suspend fun CassandraClient.queryStreamAwait(sql: String): CassandraRowStream

Executes the given SQL SELECT statement which returns the results of the query as a read stream.