org.cassandraunit.dataset.commons.ParsedKeyspace Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cassandra-unit Show documentation
Show all versions of cassandra-unit Show documentation
Test framework to develop with Cassandra
package org.cassandraunit.dataset.commons;
import java.util.ArrayList;
import java.util.List;
/**
* @author Jeremy Sevellec
*/
public class ParsedKeyspace {
private String name;
private int replicationFactor = 1;
private String strategy = "org.apache.cassandra.locator.SimpleStrategy";
private List columnFamilies = new ArrayList();
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getReplicationFactor() {
return replicationFactor;
}
public void setReplicationFactor(int replicationFactor) {
this.replicationFactor = replicationFactor;
}
public String getStrategy() {
return strategy;
}
public void setStrategy(String stategy) {
this.strategy = stategy;
}
public void setColumnFamilies(List columnFamilies) {
this.columnFamilies = columnFamilies;
}
public List getColumnFamilies() {
return columnFamilies;
}
}