Package | Description |
---|---|
io.vertx.cassandra | |
io.vertx.reactivex.cassandra | |
io.vertx.rxjava.cassandra |
Modifier and Type | Method and Description |
---|---|
CassandraClient |
CassandraClient.close(Handler<AsyncResult<Void>> closeHandler)
Closes this client.
|
static CassandraClient |
CassandraClient.create(Vertx vertx)
Like
create(Vertx, CassandraClientOptions) with default options. |
static CassandraClient |
CassandraClient.create(Vertx vertx,
CassandraClientOptions options)
Create a Cassandra client which maintains its own driver session.
|
static CassandraClient |
CassandraClient.createShared(Vertx vertx)
Like
createShared(Vertx, String, CassandraClientOptions) with default options and client name. |
static CassandraClient |
CassandraClient.createShared(Vertx vertx,
CassandraClientOptions options)
Like
createShared(Vertx, String, CassandraClientOptions) with default client name. |
static CassandraClient |
CassandraClient.createShared(Vertx vertx,
String clientName)
Like
createShared(Vertx, String, CassandraClientOptions) with default options. |
static CassandraClient |
CassandraClient.createShared(Vertx vertx,
String clientName,
CassandraClientOptions options)
Create a Cassandra client that shares its driver session with any other client having the same name.
|
<R> CassandraClient |
CassandraClient.execute(com.datastax.oss.driver.api.core.cql.Statement statement,
java.util.stream.Collector<com.datastax.oss.driver.api.core.cql.Row,?,R> collector,
Handler<AsyncResult<R>> resultHandler)
Execute a statement and produce a result by applying a collector to result set rows.
|
CassandraClient |
CassandraClient.execute(com.datastax.oss.driver.api.core.cql.Statement statement,
Handler<AsyncResult<ResultSet>> resultHandler)
Execute the statement and provide a handler for consuming results.
|
<R> CassandraClient |
CassandraClient.execute(String query,
java.util.stream.Collector<com.datastax.oss.driver.api.core.cql.Row,?,R> collector,
Handler<AsyncResult<R>> resultHandler)
Execute a query and produce a result by applying a collector to result set rows.
|
CassandraClient |
CassandraClient.execute(String query,
Handler<AsyncResult<ResultSet>> resultHandler)
Execute the query and provide a handler for consuming results.
|
CassandraClient |
CassandraClient.executeWithFullFetch(com.datastax.oss.driver.api.core.cql.Statement statement,
Handler<AsyncResult<List<com.datastax.oss.driver.api.core.cql.Row>>> resultHandler)
Execute the query and provide a handler for consuming results.
|
CassandraClient |
CassandraClient.executeWithFullFetch(String query,
Handler<AsyncResult<List<com.datastax.oss.driver.api.core.cql.Row>>> resultHandler)
Execute the query and provide a handler for consuming results.
|
CassandraClient |
CassandraClient.prepare(com.datastax.oss.driver.api.core.cql.SimpleStatement statement,
Handler<AsyncResult<com.datastax.oss.driver.api.core.cql.PreparedStatement>> resultHandler)
Prepares the provided a
SimpleStatement . |
CassandraClient |
CassandraClient.prepare(String query,
Handler<AsyncResult<com.datastax.oss.driver.api.core.cql.PreparedStatement>> resultHandler)
Prepares the provided query string.
|
CassandraClient |
CassandraClient.queryStream(com.datastax.oss.driver.api.core.cql.Statement statement,
Handler<AsyncResult<CassandraRowStream>> rowStreamHandler)
Executes the given SQL statement which returns the results of the query as a read stream.
|
CassandraClient |
CassandraClient.queryStream(String sql,
Handler<AsyncResult<CassandraRowStream>> rowStreamHandler)
Executes the given SQL
SELECT statement which returns the results of the query as a read stream. |
Modifier and Type | Method and Description |
---|---|
CassandraClient |
CassandraClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static CassandraClient |
CassandraClient.newInstance(CassandraClient arg) |
Constructor and Description |
---|
CassandraClient(CassandraClient delegate) |
Modifier and Type | Method and Description |
---|---|
CassandraClient |
CassandraClient.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static CassandraClient |
CassandraClient.newInstance(CassandraClient arg) |
Constructor and Description |
---|
CassandraClient(CassandraClient delegate) |
Copyright © 2021 Eclipse. All rights reserved.