// Path: cassandra-unit/src/main/java/org/cassandraunit/dataset/CQLDataSet.java
// public interface CQLDataSet {
// 
//     List<String> getCQLStatements();
// 
//     String getKeyspaceName();
// 
//     boolean isKeyspaceCreation();
// 
//     boolean isKeyspaceDeletion();
// }
// 
// Path: cassandra-unit/src/main/java/org/cassandraunit/dataset/ParseException.java
// public class ParseException extends RuntimeException {
// 
//     public ParseException(Throwable e) {
//         super(e);
//     }
// 
//     public ParseException(String message) {
//         super(message);
//     }
// }


import org.cassandraunit.dataset.CQLDataSet;
import org.cassandraunit.dataset.ParseException;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.List;
import java.util.stream.Collectors;
package org.cassandraunit.dataset.cql;



/**
 * @author Jeremy Sevellec
 */
public abstract class AbstractCQLDataSet implements CQLDataSet {

    public static final String END_OF_STATEMENT_DELIMITER = ";";
    private String dataSetLocation = null;
    private String keyspaceName = null;
    private boolean keyspaceCreation = true;
    private boolean keyspaceDeletion = true;

    public AbstractCQLDataSet(String dataSetLocation) {
        this.dataSetLocation = dataSetLocation;
    }

    public AbstractCQLDataSet(String dataSetLocation, boolean keyspaceCreation, boolean keyspaceDeletion) {
        this(dataSetLocation, keyspaceCreation, keyspaceDeletion, null);
    }

    public AbstractCQLDataSet(String dataSetLocation, String keyspaceName) {
        this(dataSetLocation, true, true, keyspaceName);
    }

    public AbstractCQLDataSet(String dataSetLocation, boolean keyspaceCreation, boolean keyspaceDeletion, String keyspaceName) {
        if (getInputDataSetLocation(dataSetLocation) == null) {
// Path: cassandra-unit/src/main/java/org/cassandraunit/dataset/CQLDataSet.java
// public interface CQLDataSet {
// 
//     List<String> getCQLStatements();
// 
//     String getKeyspaceName();
// 
//     boolean isKeyspaceCreation();
// 
//     boolean isKeyspaceDeletion();
// }
// 
// Path: cassandra-unit/src/main/java/org/cassandraunit/dataset/ParseException.java
// public class ParseException extends RuntimeException {
// 
//     public ParseException(Throwable e) {
//         super(e);
//     }
// 
//     public ParseException(String message) {
//         super(message);
//     }
// }


// Path: cassandra-unit/src/main/java/org/cassandraunit/dataset/cql/AbstractCQLDataSet.java
import org.cassandraunit.dataset.CQLDataSet;
import org.cassandraunit.dataset.ParseException;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.List;
import java.util.stream.Collectors;

package org.cassandraunit.dataset.cql;



/**
 * @author Jeremy Sevellec
 */
public abstract class AbstractCQLDataSet implements CQLDataSet {

    public static final String END_OF_STATEMENT_DELIMITER = ";";
    private String dataSetLocation = null;
    private String keyspaceName = null;
    private boolean keyspaceCreation = true;
    private boolean keyspaceDeletion = true;

    public AbstractCQLDataSet(String dataSetLocation) {
        this.dataSetLocation = dataSetLocation;
    }

    public AbstractCQLDataSet(String dataSetLocation, boolean keyspaceCreation, boolean keyspaceDeletion) {
        this(dataSetLocation, keyspaceCreation, keyspaceDeletion, null);
    }

    public AbstractCQLDataSet(String dataSetLocation, String keyspaceName) {
        this(dataSetLocation, true, true, keyspaceName);
    }

    public AbstractCQLDataSet(String dataSetLocation, boolean keyspaceCreation, boolean keyspaceDeletion, String keyspaceName) {
        if (getInputDataSetLocation(dataSetLocation) == null) {
            throw new ParseException("Dataset not found");