Uses of Interface
org.springframework.data.cassandra.core.CassandraBatchOperations
Packages that use CassandraBatchOperations
-
Uses of CassandraBatchOperations in org.springframework.data.cassandra.core
Methods in org.springframework.data.cassandra.core that return CassandraBatchOperationsModifier and TypeMethodDescriptionCassandraBatchOperations.addStatement
(com.datastax.oss.driver.api.core.cql.BatchableStatement<?> statement) Add astatement
to the batch.CassandraBatchOperations.addStatements
(com.datastax.oss.driver.api.core.cql.BatchableStatement<?>... statements) Addstatements
to the batch.CassandraBatchOperations.addStatements
(Iterable<? extends com.datastax.oss.driver.api.core.cql.BatchableStatement<?>> statements) Addstatements
to the batch.default 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.withQueryOptions
(QueryOptions options) Apply givenQueryOptions
to the whole batch statement.CassandraBatchOperations.withTimestamp
(long timestamp) Apply a giventimestamp
to the whole batch.