Package | Description |
---|---|
io.vertx.cassandra | |
io.vertx.reactivex.cassandra | |
io.vertx.rxjava.cassandra | |
io.vertx.rxjava3.cassandra |
Modifier and Type | Method and Description |
---|---|
CassandraClientOptions |
CassandraClientOptions.addContactPoint(InetSocketAddress address)
Adds a contact point to use for the initial connection to the cluster
|
CassandraClientOptions |
CassandraClientOptions.addContactPoint(String host,
int port)
Adds a contact point to use for the initial connection to the cluster
|
CassandraClientOptions |
CassandraClientOptions.setKeyspace(String keyspace)
Set the keyspace to use when creating the Cassandra session.
|
CassandraClientOptions |
CassandraClientOptions.setPassword(String password)
Set the password for plaintext authentication.
|
CassandraClientOptions |
CassandraClientOptions.setTracingPolicy(TracingPolicy tracingPolicy)
Set the tracing policy for the client behavior when Vert.x has tracing enabled.
|
CassandraClientOptions |
CassandraClientOptions.setUsername(String username)
Set the username for plaintext authentication.
|
Modifier and Type | Method and Description |
---|---|
static CassandraClient |
CassandraClient.create(Vertx vertx,
CassandraClientOptions options)
Create a Cassandra client which maintains its own driver session.
|
static CassandraClient |
CassandraClient.createShared(Vertx vertx,
CassandraClientOptions options)
Like
CassandraClient.createShared(Vertx, String, CassandraClientOptions) with default client name. |
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.
|
static void |
CassandraClientOptionsConverter.fromJson(Iterable<Map.Entry<String,Object>> json,
CassandraClientOptions obj) |
static void |
CassandraClientOptionsConverter.toJson(CassandraClientOptions obj,
JsonObject json) |
static void |
CassandraClientOptionsConverter.toJson(CassandraClientOptions obj,
Map<String,Object> json) |
Constructor and Description |
---|
CassandraClientOptions(CassandraClientOptions other)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
static CassandraClient |
CassandraClient.create(Vertx vertx,
CassandraClientOptions options)
Create a Cassandra client which maintains its own driver session.
|
static CassandraClient |
CassandraClient.createShared(Vertx vertx,
CassandraClientOptions options)
Like
CassandraClient.createShared(io.vertx.reactivex.core.Vertx) with default client name. |
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.
|
Modifier and Type | Method and Description |
---|---|
static CassandraClient |
CassandraClient.create(Vertx vertx,
CassandraClientOptions options)
Create a Cassandra client which maintains its own driver session.
|
static CassandraClient |
CassandraClient.createShared(Vertx vertx,
CassandraClientOptions options)
Like
CassandraClient.createShared(io.vertx.rxjava.core.Vertx) with default client name. |
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.
|
Modifier and Type | Method and Description |
---|---|
static CassandraClient |
CassandraClient.create(Vertx vertx,
CassandraClientOptions options)
Create a Cassandra client which maintains its own driver session.
|
static CassandraClient |
CassandraClient.createShared(Vertx vertx,
CassandraClientOptions options)
Like
CassandraClient.createShared(io.vertx.rxjava3.core.Vertx) with default client name. |
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.
|
Copyright © 2022 Eclipse. All rights reserved.