CqlKeyspaceDefinitionImpl ksDef = new CqlKeyspaceDefinitionImpl(session, options);
if (ksDef.getName() == null) {
ksDef.setName(keyspaceName);
}
OperationResult<SchemaChangeResult> result = ksDef.execute();
for (ColumnFamily cf : cfs.keySet()) {
CqlColumnFamilyDefinitionImpl cfDef = new CqlColumnFamilyDefinitionImpl(session, ksDef.getName(), cf, cfs.get(cf));
ksDef.addColumnFamily(cfDef);
}