@Test
public void mockingBirdDemo() {
KeyspaceDefinition ksDef = HFactory.createKeyspaceDefinition("mockingbird");
cluster.addKeyspace(ksDef, true);
Keyspace moch = HFactory.createKeyspace("mockingbird", cluster);
CqlQuery<String, String, String> cqlQuery = new CqlQuery<String, String, String>(moch, StringSerializer.get(), StringSerializer.get(), StringSerializer.get());
cqlQuery.setQuery("create columnfamily mockingbird (key 'org.apache.cassandra.db.marshal.UTF8Type' primary key) with "
+ "comparator = 'org.apache.cassandra.db.marshal.UTF8Type' "
+ "and default_validation = 'CounterColumnType' ");
QueryResult<CqlRows<String, String, String>> result = cqlQuery.execute();