@Override
    public void execute(
        String statement,
        String scriptPath,
        int lineNumber,
        boolean continueOnError,
        boolean ignoreFailedDrops
    ) {
        try {
            ResultSet result = getConnection().execute(statement);
            if (result.wasApplied()) {
                log.debug("Statement {} was applied", statement);
            } else {
                throw new ScriptStatementFailedException(statement, lineNumber, scriptPath);
            }
        } catch (DriverException e) {
            throw new ScriptStatementFailedException(statement, lineNumber, scriptPath, e);
        }
    }
Cassandra database delegate

@deprecated use {@link org.testcontainers.cassandra.delegate.CassandraDatabaseDelegate} instead.
modules/cassandra/src/main/java/org/testcontainers/containers/delegate/CassandraDatabaseDelegate.java