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

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.

Parameters

sql - the SQL to execute. For example SELECT * FROM table ....

rowStreamHandler - the handler which is called once the operation completes. It will return an instance of io.vertx.cassandra.CassandraRowStream.

Returncurrent
Cassandra client instance *