private void handleCreate ( TableInfo tableInfo , KsDef ksDef ) throws Exception { if ( containsCompositeKey ( tableInfo ) ) { validateCompoundKey ( tableInfo ) ; // First drop existing column family. dropTableUsingCql ( tableInfo ) ; } else { onDrop ( tableInfo ) ; } createOrUpdateColumnFamily ( tableInfo , ksDef ) ; }
Handle create .