public void clearImpl() throws ConnectionException {
Cluster cluster = columnFamilies.getCluster();
String keyspaceName = columnFamilies.getKeyspaceName();
if (log.isInfoEnabled())
log.info("Clearing keyspace="+keyspaceName+" in cassandra");
List<KeyspaceDefinition> keyspaces = cluster.describeKeyspaces();
KeyspaceDefinition ourDef = null;
for(KeyspaceDefinition kDef : keyspaces) {
if(keyspaceName.equalsIgnoreCase(kDef.getName())) {
ourDef = kDef;
break;