org.cassandraunit.dataset.commons.ParsedColumnFamily Maven / Gradle / Ivy
package org.cassandraunit.dataset.commons;
import java.util.ArrayList;
import java.util.List;
import me.prettyprint.hector.api.ddl.ColumnType;
/**
*
* @author Jeremy Sevellec
*
*/
public class ParsedColumnFamily {
private String name;
private ColumnType type = ColumnType.STANDARD;
private ParsedDataType keyType = ParsedDataType.BytesType;
private ParsedDataType comparatorType = ParsedDataType.BytesType;
private ParsedDataType subComparatorType = null;
private ParsedDataType defaultColumnValueType = ParsedDataType.BytesType;
private List rows = new ArrayList();
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public ColumnType getType() {
return type;
}
public void setType(ColumnType type) {
this.type = type;
}
public void setKeyType(ParsedDataType keyType) {
this.keyType = keyType;
}
public ParsedDataType getKeyType() {
return keyType;
}
public void setComparatorType(ParsedDataType comparatorType) {
this.comparatorType = comparatorType;
}
public ParsedDataType getComparatorType() {
return comparatorType;
}
public void setSubComparatorType(ParsedDataType subComparatorType) {
this.subComparatorType = subComparatorType;
}
public ParsedDataType getSubComparatorType() {
return subComparatorType;
}
public void setDefaultColumnValueType(ParsedDataType defaultColumnValueType) {
this.defaultColumnValueType = defaultColumnValueType;
}
public ParsedDataType getDefaultColumnValueType() {
return defaultColumnValueType;
}
public void setRows(List rows) {
this.rows = rows;
}
public List getRows() {
return rows;
}
}