Class YugabyteDBYCQLDelegate
java.lang.Object
org.testcontainers.containers.delegate.AbstractYCQLDelegate
org.testcontainers.containers.delegate.YugabyteDBYCQLDelegate
- All Implemented Interfaces:
AutoCloseable,org.testcontainers.delegate.DatabaseDelegate
Query execution delegate class for YCQL API to delegate init-script statements. This
invokes the in-built
ycqlsh cli within the container to execute the
statements at one go. It is recommended to use frameworks such as liquibase to manage
this requirement. This functionality is kept to address the initialization requirements
from standalone services that can't leverage liquibase or something similar.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Collection<String> statements, String scriptPath, boolean continueOnError, boolean ignoreFailedDrops) Methods inherited from class org.testcontainers.containers.delegate.AbstractYCQLDelegate
close, execute
-
Constructor Details
-
YugabyteDBYCQLDelegate
-
-
Method Details
-
execute
public void execute(Collection<String> statements, String scriptPath, boolean continueOnError, boolean ignoreFailedDrops)
-