public class CassandraClientURI extends Object
| Constructor and Description |
|---|
CassandraClientURI(String uri,
String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
com.datastax.driver.core.Cluster |
createBuilder() |
com.datastax.driver.core.Cluster |
createBuilder(com.datastax.driver.core.policies.ReconnectionPolicy reconnectionPolicy) |
String |
getCollection()
Gets the collection name.
|
String |
getDatabase()
Gets the database name.
|
List<String> |
getHosts()
Gets the list of hosts.
|
char[] |
getPassword()
Gets the password.
|
String |
getURI()
Get the unparsed URI.
|
String |
getUsername()
Gets the username.
|
String |
toString() |
public com.datastax.driver.core.Cluster createBuilder()
throws UnknownHostException
UnknownHostExceptionpublic com.datastax.driver.core.Cluster createBuilder(com.datastax.driver.core.policies.ReconnectionPolicy reconnectionPolicy)
throws UnknownHostException
UnknownHostExceptionpublic String getUsername()
public char[] getPassword()
public String getDatabase()
public String getCollection()
public String getURI()
Copyright © 2025. All rights reserved.