protected override void Setup() { base.Setup(); if (!Keyspace.ColumnFamilyExists(Server, FamilyName)) { Keyspace.AddColumnFamily(Server, new CfDef { Name = FamilyName, Keyspace = KeyspaceName, Column_type = "Standard", Comparator_type = "AsciiType", Comment = "Holds the blog posts" }); } _family = Database.GetColumnFamily <AsciiType>(FamilyName); }
public bool ColumnFamilyExists(string columnFamily) { return(Keyspace.ColumnFamilyExists(columnFamily)); }