use of org.apache.cassandra.schema.TableId in project cassandra by apache.
the class LocalSyncTaskTest method defineSchema.
@BeforeClass
public static void defineSchema() {
SchemaLoader.prepareServer();
SchemaLoader.createKeyspace(KEYSPACE1, KeyspaceParams.simple(1), SchemaLoader.standardCFMD(KEYSPACE1, CF_STANDARD));
TableId tid = Schema.instance.getTableMetadata(KEYSPACE1, CF_STANDARD).id;
cfs = Schema.instance.getColumnFamilyStoreInstance(tid);
}
Aggregations