datasetIterator = dataset.listIterator();
Cluster cluster = new Cluster.Builder().addContactPoints(host).withPort(port).build();
Session session = cluster.connect();
CQLDataLoader cqlDataLoader = new CQLDataLoader(session);
while (datasetIterator.hasNext()) {
String next = datasetIterator.next();
boolean dropAndCreateKeyspace = datasetIterator.previousIndex() == 0;
cqlDataLoader.load(new ClassPathCQLDataSet(next, dropAndCreateKeyspace, dropAndCreateKeyspace, keyspace));
}
break;
default:
dataset = dataSetLocations(testContext, cassandraDataSet);
datasetIterator = dataset.listIterator();