Interface CassandraConnectionDetails
- All Superinterfaces:
ConnectionDetails
Details required to establish a connection to a Cassandra service.
- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Method Details
-
getContactPoints
List<CassandraConnectionDetails.Node> getContactPoints()Cluster node addresses.- Returns:
- the cluster node addresses
-
getUsername
Login user of the server.- Returns:
- the login user of the server or
null
-
getPassword
Login password of the server.- Returns:
- the login password of the server or
null
-
getLocalDatacenter
String getLocalDatacenter()Datacenter that is considered "local". Contact points should be from this datacenter.- Returns:
- the datacenter that is considered "local"
-