Package | Description |
---|---|
io.vertx.cassandra | |
io.vertx.reactivex.cassandra | |
io.vertx.rxjava.cassandra |
Modifier and Type | Method and Description |
---|---|
CassandraClientOptions |
CassandraClientOptions.addContactPoint(String address)
Add a address, where a cluster node is located.
|
CassandraClientOptions |
CassandraClientOptions.setContactPoints(List<String> contactPoints)
Set a list of hosts, where some of cluster nodes is located.
|
CassandraClientOptions |
CassandraClientOptions.setKeyspace(String keyspace)
Set the keyspace to use when creating the Cassandra session.
|
CassandraClientOptions |
CassandraClientOptions.setPort(int port)
Set which port should be used for all the hosts to connect to a cassandra service.
|
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.createNonShared(Vertx vertx,
CassandraClientOptions options)
Deprecated.
|
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.createNonShared(Vertx vertx,
CassandraClientOptions options)
Deprecated.
|
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.createNonShared(Vertx vertx,
CassandraClientOptions options)
Deprecated.
|
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.
|
Copyright © 2023 Eclipse. All rights reserved.