public void createColumnFamily(String keyspace, String columnFamilyName,
String keyValidationClass, String comparatorType,
String defaultValidationClass) throws Exception {
CfDef columnFamily = new CfDef(keyspace, columnFamilyName);
columnFamily.setKey_validation_class(keyValidationClass);
columnFamily.setComparator_type(comparatorType);
columnFamily.setDefault_validation_class(defaultValidationClass);
tr = new TFramedTransport(new TSocket(cassandraHost, cassandraPort));
proto = new TBinaryProtocol(tr);
client = new Cassandra.Client(proto);