private void dropTableUsingCql ( TableInfo tableInfo ) throws Exception { CQLTranslator translator = new CQLTranslator ( ) ; StringBuilder dropQuery = new StringBuilder ( "drop table " ) ; translator . ensureCase ( dropQuery , tableInfo . getTableName ( ) , false ) ; KunderaCoreUtils . printQuery ( dropQuery . toString ( ) , showQuery ) ; cassandra_client . execute_cql3_query ( ByteBuffer . wrap ( dropQuery . toString ( ) . getBytes ( ) ) , Compression . NONE , ConsistencyLevel . ONE ) ; }
Drops table using cql3 .