For consistency, this method always returnstrue
for non-conditional queries (although there is no reason to call the method in that case). This is also the case for conditional DDL statements (CREATE KEYSPACE... IF NOT EXISTS
,CREATE TABLE... IF NOT EXISTS
), for which Cassandra doesn't return an[applied]
column.
Note that, for versions of Cassandra strictly lower than 2.0.9 and 2.1.0-rc2, a server-side bug (CASSANDRA-7337) causes this method to always returntrue
for batches containing conditional queries.