Skip navigation links
C E G I O W 

C

CassandraContainer<SELF extends CassandraContainer<SELF>> - Class in org.testcontainers.containers
Cassandra container Supports 2.x and 3.x Cassandra versions
CassandraContainer() - Constructor for class org.testcontainers.containers.CassandraContainer
Deprecated.
CassandraContainer(String) - Constructor for class org.testcontainers.containers.CassandraContainer
 
CassandraContainer(DockerImageName) - Constructor for class org.testcontainers.containers.CassandraContainer
 
CassandraDatabaseDelegate - Class in org.testcontainers.containers.delegate
Cassandra database delegate
CassandraDatabaseDelegate(ContainerState) - Constructor for class org.testcontainers.containers.delegate.CassandraDatabaseDelegate
 
CassandraQueryWaitStrategy - Class in org.testcontainers.containers.wait
Waits until Cassandra returns its version
CassandraQueryWaitStrategy() - Constructor for class org.testcontainers.containers.wait.CassandraQueryWaitStrategy
 
closeConnectionQuietly(Session) - Method in class org.testcontainers.containers.delegate.CassandraDatabaseDelegate
 
configure() - Method in class org.testcontainers.containers.CassandraContainer
 
containerIsStarted(InspectContainerResponse) - Method in class org.testcontainers.containers.CassandraContainer
 
CQL_PORT - Static variable in class org.testcontainers.containers.CassandraContainer
 
createNewConnection() - Method in class org.testcontainers.containers.delegate.CassandraDatabaseDelegate
 

E

execute(String, String, int, boolean, boolean) - Method in class org.testcontainers.containers.delegate.CassandraDatabaseDelegate
 

G

getCluster() - Method in class org.testcontainers.containers.CassandraContainer
Deprecated.
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.
getCluster(ContainerState, boolean) - Static method in class org.testcontainers.containers.CassandraContainer
Deprecated.
getCluster(ContainerState) - Static method in class org.testcontainers.containers.CassandraContainer
Deprecated.
getContactPoint() - Method in class org.testcontainers.containers.CassandraContainer
Retrieve an InetSocketAddress for connecting to the Cassandra container via the driver.
getLocalDatacenter() - Method in class org.testcontainers.containers.CassandraContainer
Retrieve the Local Datacenter for connecting to the Cassandra container via the driver.
getPassword() - Method in class org.testcontainers.containers.CassandraContainer
Get password By default Cassandra has authenticator: AllowAllAuthenticator in cassandra.yaml If username and password need to be used, then authenticator should be set as PasswordAuthenticator (through custom Cassandra configuration) and through CQL with default cassandra-cassandra credentials user management should be modified
getUsername() - Method in class org.testcontainers.containers.CassandraContainer
Get username By default Cassandra has authenticator: AllowAllAuthenticator in cassandra.yaml If username and password need to be used, then authenticator should be set as PasswordAuthenticator (through custom Cassandra configuration) and through CQL with default cassandra-cassandra credentials user management should be modified

I

IMAGE - Static variable in class org.testcontainers.containers.CassandraContainer
Deprecated.

O

optionallyMapResourceParameterAsVolume(String, String) - Method in class org.testcontainers.containers.CassandraContainer
Map (effectively replace) directory in Docker with the content of resourceLocation if resource location is not null Protected to allow for changing implementation by extending the class
org.testcontainers.containers - package org.testcontainers.containers
 
org.testcontainers.containers.delegate - package org.testcontainers.containers.delegate
 
org.testcontainers.containers.wait - package org.testcontainers.containers.wait
 

W

waitUntilReady() - Method in class org.testcontainers.containers.wait.CassandraQueryWaitStrategy
 
withConfigurationOverride(String) - Method in class org.testcontainers.containers.CassandraContainer
Initialize Cassandra with the custom overridden Cassandra configuration
withInitScript(String) - Method in class org.testcontainers.containers.CassandraContainer
Initialize Cassandra with init CQL script
withJmxReporting(boolean) - Method in class org.testcontainers.containers.CassandraContainer
Initialize Cassandra client with JMX reporting enabled or disabled
C E G I O W 
Skip navigation links