Package | Description |
---|---|
org.springframework.data.cassandra.core |
Apache Cassandra core support.
|
Modifier and Type | Method and Description |
---|---|
protected <T> Cancellable |
CassandraTemplate.doBatchInsertAsync(List<T> entities,
WriteListener<T> listener,
WriteOptions options)
Asynchronously performs a batch insert or update.
|
protected <T> Cancellable |
CassandraTemplate.doBatchUpdateAsync(List<T> entities,
WriteListener<T> listener,
WriteOptions options)
Asynchronously performs a batch insert or update.
|
protected <T> Cancellable |
CassandraTemplate.doBatchWriteAsync(List<T> entities,
WriteListener<T> listener,
WriteOptions options,
boolean insert)
Asynchronously performs a batch insert or update.
|
protected <T> Cancellable |
CassandraTemplate.doInsertAsync(T entity,
WriteListener<T> listener,
WriteOptions options) |
protected <T> Cancellable |
CassandraTemplate.doInsertAsynchronously(List<T> entities,
WriteListener<T> listener,
WriteOptions options)
This method resolves ambiguity the compiler sees as a result of type erasure between
CassandraTemplate.insertAsynchronously(Object, WriteListener, WriteOptions)
and CassandraTemplate.insertAsynchronously(List, WriteListener, WriteOptions) . |
protected <T> Cancellable |
CassandraTemplate.doUpdateAsync(T entity,
WriteListener<T> listener,
WriteOptions options) |
protected <T> Cancellable |
CassandraTemplate.doUpdateAsynchronously(List<T> entities,
WriteListener<T> listener,
WriteOptions options)
This method resolves ambiguity the compiler sees as a result of type erasure between
CassandraTemplate.updateAsynchronously(Object, WriteListener, WriteOptions)
and CassandraTemplate.updateAsynchronously(List, WriteListener, WriteOptions) . |
<T> Cancellable |
CassandraTemplate.insertAsynchronously(List<T> entities,
WriteListener<T> listener) |
<T> Cancellable |
CassandraOperations.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 |
CassandraTemplate.insertAsynchronously(List<T> entities,
WriteListener<T> listener,
WriteOptions options) |
<T> Cancellable |
CassandraOperations.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> Cancellable |
CassandraTemplate.insertAsynchronously(T entity,
WriteListener<T> listener) |
<T> Cancellable |
CassandraOperations.insertAsynchronously(T entity,
WriteListener<T> listener)
Inserts the given entity asynchronously.
|
<T> Cancellable |
CassandraTemplate.insertAsynchronously(T entity,
WriteListener<T> listener,
WriteOptions options) |
<T> Cancellable |
CassandraOperations.insertAsynchronously(T entity,
WriteListener<T> listener,
WriteOptions options)
Inserts the given entity asynchronously.
|
<T> Cancellable |
CassandraTemplate.updateAsynchronously(List<T> entities,
WriteListener<T> listener) |
<T> Cancellable |
CassandraOperations.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 |
CassandraTemplate.updateAsynchronously(List<T> entities,
WriteListener<T> listener,
WriteOptions options) |
<T> Cancellable |
CassandraOperations.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> Cancellable |
CassandraTemplate.updateAsynchronously(T entity,
WriteListener<T> listener) |
<T> Cancellable |
CassandraOperations.updateAsynchronously(T entity,
WriteListener<T> listener)
Updates the given entity asynchronously.
|
<T> Cancellable |
CassandraTemplate.updateAsynchronously(T entity,
WriteListener<T> listener,
WriteOptions options) |
<T> Cancellable |
CassandraOperations.updateAsynchronously(T entity,
WriteListener<T> listener,
WriteOptions options)
Updates the given entity asynchronously.
|
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.