code: public void executeScriptTemplate(String scriptTemplateLocation, Map<String, Object> values) {
          final List<SimpleStatement> statements = buildStatements(loadScriptAsLines(scriptTemplateLocation, values));
          for (SimpleStatement statement : statements) {
              if (isDMLStatement(statement)) {
                  DML_LOGGER.debug("\tSCRIPT : {}\n", statement.getQueryString());
              } else {
                  DDL_LOGGER.debug("\tSCRIPT : {}\n", statement.getQueryString());
              }
              session.execute(statement);
          }
      }
docs: Execute a CQL script template located in the class path and
  inject provided values into the template to produce the actual script
  
  @param scriptTemplateLocation the location of the script template in the class path
  @param values                 template values