Uses of Interface
org.springframework.data.cassandra.core.CassandraBatchOperations
-
Uses of CassandraBatchOperations in org.springframework.data.cassandra.core
Modifier and TypeMethodDescriptiondefault CassandraBatchOperations
CassandraOperations.batchOps()
Returns a newCassandraBatchOperations
usingBatchType.LOGGED
.CassandraOperations.batchOps
(com.datastax.oss.driver.api.core.cql.BatchType batchType) Returns a newCassandraBatchOperations
.CassandraTemplate.batchOps
(com.datastax.oss.driver.api.core.cql.BatchType batchType) Add a collection of deletes to the batch.CassandraBatchOperations.delete
(Iterable<?> entities, WriteOptions options) Add a collection of deletes with givenWriteOptions
to the batch.Add an array of deletes to the batch.default CassandraBatchOperations
CassandraBatchOperations.delete
(Object entity, WriteOptions options) Add delete to the batch.Add a collection of inserts to the batch.CassandraBatchOperations.insert
(Iterable<?> entities, WriteOptions options) Add a collection of inserts with givenWriteOptions
to the batch.Add an array of inserts to the batch.default CassandraBatchOperations
CassandraBatchOperations.insert
(Object entity, WriteOptions options) Add an insert to the batch.Add a collection of updates to the batch.CassandraBatchOperations.update
(Iterable<?> entities, WriteOptions options) Add a collection of updates with givenWriteOptions
to the batch.Add an array of updates to the batch.default CassandraBatchOperations
CassandraBatchOperations.update
(Object entity, WriteOptions options) Add an update to the batch.CassandraBatchOperations.withTimestamp
(long timestamp) Apply a giventimestamp
to the whole batch.