| Field and Description |
|---|
| org.testcontainers.containers.CassandraContainer.IMAGE |
| Method and Description |
|---|
| org.testcontainers.containers.CassandraContainer.getCluster()
For Cassandra driver 3.x, use
ContainerState.getHost() and ContainerState.getMappedPort(int) with
the driver's Cluster.Builder addContactPoint(String) and
withPort(int) methods to create a Cluster object. For Cassandra driver 4.x, use
CassandraContainer.getContactPoint() and CassandraContainer.getLocalDatacenter() with the driver's CqlSession.builder()
addContactPoint(InetSocketAddress) and withLocalDatacenter(String) methods to create
a Session Object. See https://docs.datastax.com/en/developer/java-driver/ for more on the driver. |
| org.testcontainers.containers.CassandraContainer.getCluster(ContainerState) |
| org.testcontainers.containers.CassandraContainer.getCluster(ContainerState, boolean) |
| Constructor and Description |
|---|
| org.testcontainers.containers.CassandraContainer()
use
CassandraContainer(DockerImageName) instead |