if (!(s.startsWith("create") || s.startsWith("alter") || s.startsWith("drop") || s.startsWith("use") || //
s.startsWith("select") || s.startsWith("insert") || s.startsWith("delete") || s.startsWith("update")))
return super.prepareCommand(sql);
try {
ResultMessage.Prepared prepared = ClientState.getCQLQueryHandler().prepare(sql, new QueryState(clientState));
CassandraCommand command = new CassandraCommand(this, sql, prepared, clientState);
return command;
} catch (RequestValidationException e) {
throw DbException.convert(e);