private static CFMetaData compile(Integer id, String cql, String keyspace)
{
try
{
CreateColumnFamilyStatement statement = (CreateColumnFamilyStatement) QueryProcessor.parseStatement(cql).prepare().statement;
CFMetaData cfmd = newSystemMetadata(keyspace, statement.columnFamily(), id, "", statement.comparator, null);
statement.applyPropertiesTo(cfmd);
return cfmd;
}
catch (RequestValidationException e)
{
throw new RuntimeException(e);