Class YugabyteDBYCQLDelegate

java.lang.Object
org.testcontainers.containers.delegate.AbstractYCQLDelegate
org.testcontainers.containers.delegate.YugabyteDBYCQLDelegate
All Implemented Interfaces:
AutoCloseable, org.testcontainers.delegate.DatabaseDelegate

public final class YugabyteDBYCQLDelegate extends AbstractYCQLDelegate
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 Details

  • Method Details

    • execute

      public void execute(Collection<String> statements, String scriptPath, boolean continueOnError, boolean ignoreFailedDrops)