public interface CassandraOperations extends CqlOperations
Methods accepting a List
of entities perform batching operations (insert/update/delete). This can be fine for
entities sharing a partition key but leads in most cases to distributed batches across a Cassandra cluster which is
an anti-pattern. Please use batchOps()
if your intention is batching. As of Version 1.5, all methods
accepting a List
of entities are deprecated because there is no alternative of inserting multiple rows in an
atomic way that guarantees not to harm Cassandra performance. These methods will be removed in Version 2.0. Please
issue multiple calls to the corresponding single-entity method.
CassandraOperations
mixes synchronous and asynchronous methods so asynchronous methods are subject to be
moved into an asynchronous Cassandra template.
CqlOperations
,
Select
,
WriteListener
,
DeletionListener
,
QueryForObjectListener
Modifier and Type | Method and Description |
---|---|
CassandraBatchOperations |
batchOps()
Returns a new
CassandraBatchOperations . |
long |
count(Class<?> entityClass)
Returns the number of rows for the given
entityClass by querying the table of the given entity class. |
<T> void |
delete(List<T> entities)
Deprecated.
as of 1.5. This method accepts a
List of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps() for if your intent is batching or issue multiple calls to delete(Object)
as that's the preferred approach. This method will be removed in Version 2.0. |
<T> void |
delete(List<T> entities,
QueryOptions options)
Deprecated.
as of 1.5. This method accepts a
List of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps() for if your intent is batching or issue multiple calls to
#delete(Object, WriteOptions) as that's the preferred approach. This method will be removed in
Version 2.0. |
<T> void |
delete(T entity)
Remove the given object from the table by id.
|
<T> void |
delete(T entity,
QueryOptions options)
Remove the given object from the table by id.
|
<T> void |
deleteAll(Class<T> entityClass)
Deletes all entities of a given class.
|
<T> Cancellable |
deleteAsynchronously(List<T> entities)
Deprecated.
as of 1.5. This method accepts a
List of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0. |
<T> Cancellable |
deleteAsynchronously(List<T> entities,
DeletionListener<T> listener)
Deprecated.
as of 1.5. This method accepts a
List of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0. |
<T> Cancellable |
deleteAsynchronously(List<T> entities,
DeletionListener<T> listener,
QueryOptions options)
Deprecated.
as of 1.5. This method accepts a
List of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0. |
<T> Cancellable |
deleteAsynchronously(List<T> entities,
QueryOptions options)
Deprecated.
as of 1.5. This method accepts a
List of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0. |
<T> Cancellable |
deleteAsynchronously(T entity)
Remove the given object from the table by id.
|
<T> Cancellable |
deleteAsynchronously(T entity,
DeletionListener<T> listener)
Remove the given object from the table by id.
|
<T> Cancellable |
deleteAsynchronously(T entity,
DeletionListener<T> listener,
QueryOptions options)
Remove the given object from the table by id.
|
<T> Cancellable |
deleteAsynchronously(T entity,
QueryOptions options)
Remove the given object from the table by id.
|
void |
deleteById(Class<?> entityClass,
Object id)
Remove the given object from the table by id.
|
boolean |
exists(Class<?> entityClass,
Object id)
Determine whether the row
entityClass with the given id exists. |
CassandraConverter |
getConverter()
Returns the underlying
CassandraConverter . |
CqlIdentifier |
getTableName(Class<?> entityClass)
The table name used for the specified class by this template.
|
<T> List<T> |
insert(List<T> entities)
Deprecated.
as of 1.5. This method accepts a
List of entities and inserts all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps() for if your intent is batching or issue multiple calls to insert(Object)
as that's the preferred approach. This method will be removed in Version 2.0. |
<T> List<T> |
insert(List<T> entities,
WriteOptions options)
Deprecated.
as of 1.5. This method accepts a
List of entities and inserts all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps() for if your intent is batching or issue multiple calls to
insert(Object, WriteOptions) as that's the preferred approach. This method will be removed in
Version 2.0. |
<T> T |
insert(T entity)
Insert the given entity without inserting null values.
|
<T> T |
insert(T entity,
WriteOptions options)
Insert the given entity without inserting null values.
|
<T> List<T> |
insertAsynchronously(List<T> entities)
Deprecated.
as of 1.2, this method does not allow for query cancellation or notification of completion. Favor
insertAsynchronously(List, WriteListener) . |
<T> Cancellable |
insertAsynchronously(List<T> entities,
WriteListener<T> listener)
Deprecated.
as of 1.5. This method accepts a
List of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0. |
<T> Cancellable |
insertAsynchronously(List<T> entities,
WriteListener<T> listener,
WriteOptions options)
Deprecated.
as of 1.5. This method accepts a
List of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0. |
<T> List<T> |
insertAsynchronously(List<T> entities,
WriteOptions options)
Deprecated.
as of 1.2, this method does not allow for query cancellation or notification of completion. Favor
insertAsynchronously(List, WriteListener, WriteOptions) . |
<T> T |
insertAsynchronously(T entity)
Deprecated.
as of 1.2, this method does not allow for query cancellation or notification of completion. Favor
insertAsynchronously(Object, WriteListener) . |
<T> Cancellable |
insertAsynchronously(T entity,
WriteListener<T> listener)
Inserts the given entity asynchronously.
|
<T> Cancellable |
insertAsynchronously(T entity,
WriteListener<T> listener,
WriteOptions options)
Inserts the given entity asynchronously.
|
<T> T |
insertAsynchronously(T entity,
WriteOptions options)
Deprecated.
as of 1.2, this method does not allow for query cancellation or notification of completion. Favor
insertAsynchronously(Object, WriteListener, WriteOptions) . |
<T> List<T> |
select(com.datastax.driver.core.querybuilder.Select select,
Class<T> entityClass)
Execute the Select Query and convert to the list of entities.
|
<T> List<T> |
select(String cql,
Class<T> entityClass)
Execute query and convert ResultSet to the list of entities.
|
<T> List<T> |
selectAll(Class<T> entityClass)
Deprecated.
Calling this method could result in
OutOfMemoryError , as this is a brute force selection. |
<T> List<T> |
selectBySimpleIds(Class<T> entityClass,
Iterable<?> ids)
Select objects for the given
entityClass and ids . |
<T> T |
selectOne(com.datastax.driver.core.querybuilder.Select select,
Class<T> entityClass)
Execute Select query and convert ResultSet to the entity
|
<T> T |
selectOne(String cql,
Class<T> entityClass)
Execute CQL and convert ResultSet to the entity
|
<T> Cancellable |
selectOneAsynchronously(com.datastax.driver.core.querybuilder.Select select,
Class<T> entityClass,
QueryForObjectListener<T> listener)
Executes the
Select query asynchronously. |
<T> Cancellable |
selectOneAsynchronously(com.datastax.driver.core.querybuilder.Select select,
Class<T> entityClass,
QueryForObjectListener<T> listener,
QueryOptions options)
Executes the
Select query asynchronously. |
<T> Cancellable |
selectOneAsynchronously(String cql,
Class<T> entityClass,
QueryForObjectListener<T> listener)
Executes the string CQL query asynchronously.
|
<T> Cancellable |
selectOneAsynchronously(String cql,
Class<T> entityClass,
QueryForObjectListener<T> listener,
QueryOptions options)
Executes the string CQL query asynchronously.
|
<T> T |
selectOneById(Class<T> entityClass,
Object id)
Execute the Select by
id for the given entityClass . |
<T> Iterator<T> |
stream(String query,
Class<T> entityClass)
Executes the given select
query on the entity table of the specified type backed by a Cassandra
ResultSet . |
<T> List<T> |
update(List<T> entities)
Deprecated.
as of 1.5. This method accepts a
List of entities and updates all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps() for if your intent is batching or issue multiple calls to update(Object)
as that's the preferred approach. This method will be removed in Version 2.0. |
<T> List<T> |
update(List<T> entities,
WriteOptions options)
Deprecated.
as of 1.5. This method accepts a
List of entities and updates all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps() for if your intent is batching or issue multiple calls to
update(Object, WriteOptions) as that's the preferred approach. This method will be removed in
Version 2.0. |
<T> T |
update(T entity)
Update the given entity.
|
<T> T |
update(T entity,
WriteOptions options)
Update the given entity.
|
<T> List<T> |
updateAsynchronously(List<T> entities)
Deprecated.
as of 1.2, this method does not allow for query cancellation or notification of completion. Favor
updateAsynchronously(List, WriteListener) . |
<T> Cancellable |
updateAsynchronously(List<T> entities,
WriteListener<T> listener)
Deprecated.
as of 1.5. This method accepts a
List of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0. |
<T> Cancellable |
updateAsynchronously(List<T> entities,
WriteListener<T> listener,
WriteOptions options)
Deprecated.
as of 1.5. This method accepts a
List of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0. |
<T> List<T> |
updateAsynchronously(List<T> entities,
WriteOptions options)
Deprecated.
as of 1.2, this method does not allow for query cancellation or notification of completion. Favor
updateAsynchronously(List, WriteListener, WriteOptions) . |
<T> T |
updateAsynchronously(T entity)
Deprecated.
as of 1.2, this method does not allow for query cancellation or notification of completion. Favor
updateAsynchronously(Object, WriteListener) . |
<T> Cancellable |
updateAsynchronously(T entity,
WriteListener<T> listener)
Updates the given entity asynchronously.
|
<T> Cancellable |
updateAsynchronously(T entity,
WriteListener<T> listener,
WriteOptions options)
Updates the given entity asynchronously.
|
<T> T |
updateAsynchronously(T entity,
WriteOptions options)
Deprecated.
as of 1.2, this method does not allow for query cancellation or notification of completion. Favor
updateAsynchronously(Object, WriteListener, WriteOptions) . |
count, count, describeRing, describeRing, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, executeAsynchronously, getResultSetUninterruptibly, getResultSetUninterruptibly, getResultSetUninterruptibly, getSession, ingest, ingest, ingest, ingest, ingest, ingest, process, process, processList, processListOfMap, processMap, processOne, processOne, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, query, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryAsynchronously, queryForList, queryForList, queryForListAsynchronously, queryForListAsynchronously, queryForListOfMap, queryForListOfMap, queryForListOfMapAsynchronously, queryForListOfMapAsynchronously, queryForListOfMapAsynchronously, queryForMap, queryForMap, queryForMapAsynchronously, queryForMapAsynchronously, queryForMapAsynchronously, queryForObject, queryForObject, queryForObject, queryForObject, queryForObjectAsynchronously, queryForObjectAsynchronously, queryForObjectAsynchronously, queryForObjectAsynchronously, queryForObjectAsynchronously, queryForObjectAsynchronously, truncate, truncate
CqlIdentifier getTableName(Class<?> entityClass)
entityClass
- The entity type must not be null.CqlIdentifier
<T> Iterator<T> stream(String query, Class<T> entityClass)
query
on the entity table of the specified type
backed by a Cassandra
ResultSet
.
Returns a Iterator
that wraps the Cassandra ResultSet
.
<T> List<T> select(String cql, Class<T> entityClass)
cql
- must not be null.entityClass
- The entity type must not be null.<T> List<T> select(com.datastax.driver.core.querybuilder.Select select, Class<T> entityClass)
select
- must not be null.entityClass
- The entity type must not be null.<T> List<T> selectBySimpleIds(Class<T> entityClass, Iterable<?> ids)
entityClass
and ids
.entityClass
- The entity type must not be null.ids
- must not be null.@Deprecated <T> List<T> selectAll(Class<T> entityClass)
OutOfMemoryError
, as this is a brute force selection.entityClass
- The entity type must not be null.T
.<T> T selectOneById(Class<T> entityClass, Object id)
id
for the given entityClass
.entityClass
- The entity type must not be null.id
- must not be null.<T> T selectOne(String cql, Class<T> entityClass)
cql
- must not be null.entityClass
- The entity type must not be null.<T> T selectOne(com.datastax.driver.core.querybuilder.Select select, Class<T> entityClass)
select
- must not be null.entityClass
- The entity type must not be null.<T> Cancellable selectOneAsynchronously(com.datastax.driver.core.querybuilder.Select select, Class<T> entityClass, QueryForObjectListener<T> listener)
Select
query asynchronously.select
- The Select
query to execute.entityClass
- The entity type must not be null.Cancellable
that can be used to cancel the query.<T> Cancellable selectOneAsynchronously(String cql, Class<T> entityClass, QueryForObjectListener<T> listener)
cql
- The string query CQL to execute.entityClass
- The entity type must not be null.Cancellable
that can be used to cancel the query.<T> Cancellable selectOneAsynchronously(com.datastax.driver.core.querybuilder.Select select, Class<T> entityClass, QueryForObjectListener<T> listener, QueryOptions options)
Select
query asynchronously.select
- The Select
query to execute.entityClass
- The entity type must not be null.options
- The QueryOptions
to use.Cancellable
that can be used to cancel the query.<T> Cancellable selectOneAsynchronously(String cql, Class<T> entityClass, QueryForObjectListener<T> listener, QueryOptions options)
cql
- The string query CQL to execute.entityClass
- The entity type must not be null.options
- The QueryOptions
to use.Cancellable
that can be used to cancel the query.boolean exists(Class<?> entityClass, Object id)
entityClass
with the given id
exists.entityClass
- The entity type must not be null.id
- must not be null.long count(Class<?> entityClass)
entityClass
by querying the table of the given entity class.entityClass
- The entity type must not be null.<T> T insert(T entity)
entity
- The entity to insert<T> T insert(T entity, WriteOptions options)
entity
- The entity to insertoptions
- The WriteOptions
to use.@Deprecated <T> List<T> insert(List<T> entities)
List
of entities and inserts all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps()
for if your intent is batching or issue multiple calls to insert(Object)
as that's the preferred approach. This method will be removed in Version 2.0.entities
- The entities to insert.@Deprecated <T> List<T> insert(List<T> entities, WriteOptions options)
List
of entities and inserts all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps()
for if your intent is batching or issue multiple calls to
insert(Object, WriteOptions)
as that's the preferred approach. This method will be removed in
Version 2.0.entities
- The entities to insert.options
- The WriteOptions
to use.@Deprecated <T> T insertAsynchronously(T entity)
insertAsynchronously(Object, WriteListener)
.entity
- The entity to insertinsertAsynchronously(Object, WriteListener)
@Deprecated <T> T insertAsynchronously(T entity, WriteOptions options)
insertAsynchronously(Object, WriteListener, WriteOptions)
.entity
- The entity to insertinsertAsynchronously(Object, WriteOptions)
<T> Cancellable insertAsynchronously(T entity, WriteListener<T> listener)
entity
- The entity to insertlistener
- The listener to receive notification of completionCancellable
enabling the cancellation of the operation<T> Cancellable insertAsynchronously(T entity, WriteListener<T> listener, WriteOptions options)
entity
- The entity to insertlistener
- The listener to receive notification of completionoptions
- The WriteOptions
to useCancellable
enabling the cancellation of the operation@Deprecated <T> List<T> insertAsynchronously(List<T> entities)
insertAsynchronously(List, WriteListener)
.entities
- The entities to insertinsertAsynchronously(List, WriteListener)
@Deprecated <T> List<T> insertAsynchronously(List<T> entities, WriteOptions options)
insertAsynchronously(List, WriteListener, WriteOptions)
.entities
- The entities to insertinsertAsynchronously(List, WriteListener, WriteOptions)
@Deprecated <T> Cancellable insertAsynchronously(List<T> entities, WriteListener<T> listener)
List
of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0.entities
- The entities to insertlistener
- The listener to receive notification of completionCancellable
enabling the cancellation of the operation@Deprecated <T> Cancellable insertAsynchronously(List<T> entities, WriteListener<T> listener, WriteOptions options)
List
of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0.entities
- The entities to insertlistener
- The listener to receive notification of completionoptions
- The WriteOptions
to useCancellable
enabling the cancellation of the operation<T> T update(T entity)
entity
- The entity to update<T> T update(T entity, WriteOptions options)
entity
- The entity to updateoptions
- The WriteOptions
to use.@Deprecated <T> List<T> update(List<T> entities)
List
of entities and updates all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps()
for if your intent is batching or issue multiple calls to update(Object)
as that's the preferred approach. This method will be removed in Version 2.0.entities
- The entities to update.@Deprecated <T> List<T> update(List<T> entities, WriteOptions options)
List
of entities and updates all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps()
for if your intent is batching or issue multiple calls to
update(Object, WriteOptions)
as that's the preferred approach. This method will be removed in
Version 2.0.entities
- The entities to update.options
- The WriteOptions
to use.@Deprecated <T> T updateAsynchronously(T entity)
updateAsynchronously(Object, WriteListener)
.entity
- The entity to updateupdateAsynchronously(Object, WriteListener)
@Deprecated <T> T updateAsynchronously(T entity, WriteOptions options)
updateAsynchronously(Object, WriteListener, WriteOptions)
.entity
- The entity to updateupdateAsynchronously(Object, WriteOptions)
<T> Cancellable updateAsynchronously(T entity, WriteListener<T> listener)
entity
- The entity to updatelistener
- The listener to receive notification of completionCancellable
enabling the cancellation of the operation<T> Cancellable updateAsynchronously(T entity, WriteListener<T> listener, WriteOptions options)
entity
- The entity to updatelistener
- The listener to receive notification of completionoptions
- The WriteOptions
to useCancellable
enabling the cancellation of the operation@Deprecated <T> List<T> updateAsynchronously(List<T> entities)
updateAsynchronously(List, WriteListener)
.entities
- The entities to updateupdateAsynchronously(List, WriteListener)
@Deprecated <T> List<T> updateAsynchronously(List<T> entities, WriteOptions options)
updateAsynchronously(List, WriteListener, WriteOptions)
.entities
- The entities to updateupdateAsynchronously(List, WriteListener, WriteOptions)
@Deprecated <T> Cancellable updateAsynchronously(List<T> entities, WriteListener<T> listener)
List
of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0.entities
- The entities to updatelistener
- The listener to receive notification of completionCancellable
enabling the cancellation of the operation@Deprecated <T> Cancellable updateAsynchronously(List<T> entities, WriteListener<T> listener, WriteOptions options)
List
of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0.entities
- The entities to updatelistener
- The listener to receive notification of completionoptions
- The WriteOptions
to useCancellable
enabling the cancellation of the operationvoid deleteById(Class<?> entityClass, Object id)
entityClass
- The entity type must not be null.id
- must not be null.<T> void delete(T entity)
entity
- must not be null.<T> void delete(T entity, QueryOptions options)
entity
- must not be null.options
- may be null.@Deprecated <T> void delete(List<T> entities)
List
of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps()
for if your intent is batching or issue multiple calls to delete(Object)
as that's the preferred approach. This method will be removed in Version 2.0.entities
- must not be null.@Deprecated <T> void delete(List<T> entities, QueryOptions options)
List
of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. Please use
batchOps()
for if your intent is batching or issue multiple calls to
#delete(Object, WriteOptions)
as that's the preferred approach. This method will be removed in
Version 2.0.entities
- must not be null.options
- may be null.<T> void deleteAll(Class<T> entityClass)
entityClass
- The entity type must not be null.<T> Cancellable deleteAsynchronously(T entity)
entity
- The object to delete<T> Cancellable deleteAsynchronously(T entity, QueryOptions options)
entity
- The object to deleteoptions
- The QueryOptions
to use<T> Cancellable deleteAsynchronously(T entity, DeletionListener<T> listener)
entity
- The object to deletelistener
- The DeletionListener
to receive notification upon completion<T> Cancellable deleteAsynchronously(T entity, DeletionListener<T> listener, QueryOptions options)
entity
- The object to deletelistener
- The DeletionListener
to receive notification upon completionoptions
- The QueryOptions
to use@Deprecated <T> Cancellable deleteAsynchronously(List<T> entities)
List
of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0.entities
- The objects to delete@Deprecated <T> Cancellable deleteAsynchronously(List<T> entities, DeletionListener<T> listener)
List
of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0.entities
- The objects to deletelistener
- The DeletionListener
to receive notification upon completion@Deprecated <T> Cancellable deleteAsynchronously(List<T> entities, QueryOptions options)
List
of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0.entities
- The objects to deleteoptions
- The QueryOptions
to use@Deprecated <T> Cancellable deleteAsynchronously(List<T> entities, DeletionListener<T> listener, QueryOptions options)
List
of entities and deletes all entities in a batch. That's
not transparent to users and a Cassandra anti-pattern if used with multiple partition keys. This method
will be removed in Version 2.0.entities
- The objects to deletelistener
- The DeletionListener
to receive notification upon completionoptions
- The QueryOptions
to useCassandraBatchOperations batchOps()
CassandraBatchOperations
. Each CassandraBatchOperations
instance can be executed only
once so you might want to obtain new CassandraBatchOperations
instances for each batch.CassandraBatchOperations
associated with the given entity class.CassandraConverter getConverter()
CassandraConverter
.CassandraConverter
.Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.