Package | Description |
---|---|
org.springframework.cassandra.core | |
org.springframework.data.cassandra.core |
Modifier and Type | Class and Description |
---|---|
class |
WriteOptions |
Modifier and Type | Method and Description |
---|---|
static void |
CqlTemplate.addPreparedStatementOptions(com.datastax.driver.core.PreparedStatement s,
QueryOptions options)
Add common Query options for all types of queries.
|
static com.datastax.driver.core.Statement |
CqlTemplate.addQueryOptions(com.datastax.driver.core.Statement q,
QueryOptions options)
Add common
QueryOptions options for all types of queries. |
protected com.datastax.driver.core.ResultSet |
CqlTemplate.doExecute(String cql,
QueryOptions options) |
protected Cancellable |
CqlTemplate.doExecuteAsync(com.datastax.driver.core.Statement q,
AsynchronousQueryListener listener,
QueryOptions options) |
void |
CqlTemplate.execute(String cql,
QueryOptions options) |
void |
CqlOperations.execute(String cql,
QueryOptions options)
Executes the supplied CQL Query and returns nothing.
|
com.datastax.driver.core.ResultSetFuture |
CqlTemplate.executeAsynchronously(String cql,
QueryOptions options) |
com.datastax.driver.core.ResultSetFuture |
CqlOperations.executeAsynchronously(String cql,
QueryOptions options)
Executes the supplied Query Asynchronously and returns nothing.
|
<T> T |
CqlTemplate.query(PreparedStatementCreator psc,
PreparedStatementBinder psb,
ResultSetExtractor<T> rse,
QueryOptions options) |
<T> T |
CqlOperations.query(PreparedStatementCreator psc,
PreparedStatementBinder psb,
ResultSetExtractor<T> rse,
QueryOptions options)
Uses the provided PreparedStatementCreator to prepare a new Session call.
|
void |
CqlTemplate.query(PreparedStatementCreator psc,
PreparedStatementBinder psb,
RowCallbackHandler rch,
QueryOptions options) |
void |
CqlOperations.query(PreparedStatementCreator psc,
PreparedStatementBinder psb,
RowCallbackHandler rch,
QueryOptions options)
Uses the provided PreparedStatementCreator to prepare a new Session call.
|
<T> List<T> |
CqlTemplate.query(PreparedStatementCreator psc,
PreparedStatementBinder psb,
RowMapper<T> rowMapper,
QueryOptions options) |
<T> List<T> |
CqlOperations.query(PreparedStatementCreator psc,
PreparedStatementBinder psb,
RowMapper<T> rowMapper,
QueryOptions options)
Uses the provided PreparedStatementCreator to prepare a new Session call.
|
<T> T |
CqlTemplate.query(PreparedStatementCreator psc,
ResultSetExtractor<T> rse,
QueryOptions options) |
<T> T |
CqlOperations.query(PreparedStatementCreator psc,
ResultSetExtractor<T> rse,
QueryOptions options)
Uses the provided PreparedStatementCreator to prepare a new Session call.
|
void |
CqlTemplate.query(PreparedStatementCreator psc,
RowCallbackHandler rch,
QueryOptions options) |
void |
CqlOperations.query(PreparedStatementCreator psc,
RowCallbackHandler rch,
QueryOptions options)
Uses the provided PreparedStatementCreator to prepare a new Session call.
|
<T> List<T> |
CqlTemplate.query(PreparedStatementCreator psc,
RowMapper<T> rowMapper,
QueryOptions options) |
<T> List<T> |
CqlOperations.query(PreparedStatementCreator psc,
RowMapper<T> rowMapper,
QueryOptions options)
Uses the provided PreparedStatementCreator to prepare a new Session call.
|
<T> T |
CqlTemplate.query(String cql,
PreparedStatementBinder psb,
ResultSetExtractor<T> rse,
QueryOptions options) |
<T> T |
CqlOperations.query(String cql,
PreparedStatementBinder psb,
ResultSetExtractor<T> rse,
QueryOptions options)
Converts the CQL provided into a
CachedPreparedStatementCreator . |
void |
CqlTemplate.query(String cql,
PreparedStatementBinder psb,
RowCallbackHandler rch,
QueryOptions options) |
void |
CqlOperations.query(String cql,
PreparedStatementBinder psb,
RowCallbackHandler rch,
QueryOptions options)
Converts the CQL provided into a
CachedPreparedStatementCreator . |
<T> List<T> |
CqlTemplate.query(String cql,
PreparedStatementBinder psb,
RowMapper<T> rowMapper,
QueryOptions options) |
<T> List<T> |
CqlOperations.query(String cql,
PreparedStatementBinder psb,
RowMapper<T> rowMapper,
QueryOptions options)
Converts the CQL provided into a
CachedPreparedStatementCreator . |
com.datastax.driver.core.ResultSet |
CqlTemplate.query(String cql,
QueryOptions options) |
com.datastax.driver.core.ResultSet |
CqlOperations.query(String cql,
QueryOptions options)
Executes the provided CQL query with the given
QueryOptions and returns the ResultSet . |
<T> T |
CqlTemplate.query(String cql,
ResultSetExtractor<T> rse,
QueryOptions options) |
<T> T |
CqlOperations.query(String cql,
ResultSetExtractor<T> rse,
QueryOptions options)
Executes the provided CQL Query, and extracts the results with the ResultSetExtractor.
|
void |
CqlTemplate.query(String cql,
RowCallbackHandler rch,
QueryOptions options) |
void |
CqlOperations.query(String cql,
RowCallbackHandler rch,
QueryOptions options)
Executes the provided CQL Query, and then processes the results with the
RowCallbackHandler . |
<T> List<T> |
CqlTemplate.query(String cql,
RowMapper<T> rowMapper,
QueryOptions options) |
<T> List<T> |
CqlOperations.query(String cql,
RowMapper<T> rowMapper,
QueryOptions options)
Executes the provided CQL Query, and maps all Rows returned with the supplied RowMapper.
|
Cancellable |
CqlTemplate.queryAsynchronously(String cql,
AsynchronousQueryListener listener,
QueryOptions options) |
Cancellable |
CqlOperations.queryAsynchronously(String cql,
AsynchronousQueryListener listener,
QueryOptions options)
Executes the provided CQL Query with the provided Listener and Query Options.
|
Cancellable |
CqlTemplate.queryAsynchronously(String cql,
AsynchronousQueryListener listener,
QueryOptions options,
Executor executor) |
Cancellable |
CqlOperations.queryAsynchronously(String cql,
AsynchronousQueryListener listener,
QueryOptions options,
Executor executor)
Executes the provided CQL Query with the provided Listener, Executor and Query Options.
|
com.datastax.driver.core.ResultSetFuture |
CqlTemplate.queryAsynchronously(String cql,
QueryOptions options) |
com.datastax.driver.core.ResultSetFuture |
CqlOperations.queryAsynchronously(String cql,
QueryOptions options)
Executes the provided CQL Query and returns the ResultSetFuture for user processing.
|
<T> T |
CqlTemplate.queryAsynchronously(String cql,
ResultSetExtractor<T> rse,
Long timeout,
TimeUnit timeUnit,
QueryOptions options) |
<T> T |
CqlOperations.queryAsynchronously(String cql,
ResultSetExtractor<T> rse,
Long timeout,
TimeUnit timeUnit,
QueryOptions options)
Executes the provided CQL Query, and extracts the results with the ResultSetExtractor.
|
<T> T |
CqlTemplate.queryAsynchronously(String cql,
ResultSetFutureExtractor<T> rse,
QueryOptions options) |
Cancellable |
CqlTemplate.queryAsynchronously(String cql,
Runnable listener,
QueryOptions options) |
Cancellable |
CqlOperations.queryAsynchronously(String cql,
Runnable listener,
QueryOptions options)
Executes the provided CQL Query with the Runnable implementations using the Query Options.
|
Cancellable |
CqlTemplate.queryAsynchronously(String cql,
Runnable listener,
QueryOptions options,
Executor executor) |
Cancellable |
CqlOperations.queryAsynchronously(String cql,
Runnable listener,
QueryOptions options,
Executor executor)
Executes the provided CQL Query with the provided Executor and Runnable implementations.
|
Cancellable |
CqlTemplate.queryForListOfMapAsynchronously(String cql,
QueryForListListener<Map<String,Object>> listener,
QueryOptions options) |
Cancellable |
CqlOperations.queryForListOfMapAsynchronously(String cql,
QueryForListListener<Map<String,Object>> listener,
QueryOptions options)
|
Cancellable |
CqlTemplate.queryForMapAsynchronously(String cql,
QueryForMapListener listener,
QueryOptions options) |
Cancellable |
CqlOperations.queryForMapAsynchronously(String cql,
QueryForMapListener listener,
QueryOptions options)
Executes the provided CQL query asynchronously and maps the first row to a
Map <String,Object>. |
<T> Cancellable |
CqlTemplate.queryForObjectAsynchronously(String cql,
Class<T> requiredType,
QueryForObjectListener<T> listener,
QueryOptions options) |
<T> Cancellable |
CqlOperations.queryForObjectAsynchronously(String cql,
Class<T> requiredType,
QueryForObjectListener<T> listener,
QueryOptions options)
Executes the provided select CQL query and returns the first column of the first Row as an object of type
T . |
<T> Cancellable |
CqlTemplate.queryForObjectAsynchronously(String cql,
RowMapper<T> rowMapper,
QueryForObjectListener<T> listener,
QueryOptions options) |
<T> Cancellable |
CqlOperations.queryForObjectAsynchronously(String cql,
RowMapper<T> rowMapper,
QueryForObjectListener<T> listener,
QueryOptions options)
Executes the provided string CQL query, and maps the first row returned with the supplied
RowMapper . |
Modifier and Type | Method and Description |
---|---|
static <T> com.datastax.driver.core.querybuilder.Batch |
CassandraTemplate.createDeleteBatchQuery(String tableName,
List<T> entities,
QueryOptions options,
EntityWriter<Object,Object> entityWriter)
Create a Batch Query object for multiple deletes.
|
static com.datastax.driver.core.querybuilder.Delete |
CassandraTemplate.createDeleteQuery(String tableName,
Object object,
QueryOptions options,
EntityWriter<Object,Object> entityWriter)
Create a Delete Query Object from an annotated POJO
|
<T> void |
CassandraTemplate.delete(List<T> entities,
QueryOptions options) |
<T> void |
CassandraOperations.delete(List<T> entities,
QueryOptions options) |
<T> void |
CassandraTemplate.delete(T entity,
QueryOptions options) |
<T> void |
CassandraOperations.delete(T entity,
QueryOptions options) |
<T> Cancellable |
CassandraTemplate.deleteAsynchronously(List<T> entities,
DeletionListener<T> listener,
QueryOptions options) |
<T> Cancellable |
CassandraOperations.deleteAsynchronously(List<T> entities,
DeletionListener<T> listener,
QueryOptions options)
Remove the given objects from the table by id.
|
<T> Cancellable |
CassandraTemplate.deleteAsynchronously(List<T> entities,
QueryOptions options) |
<T> Cancellable |
CassandraOperations.deleteAsynchronously(List<T> entities,
QueryOptions options)
Remove the given objects from the table by id.
|
<T> Cancellable |
CassandraTemplate.deleteAsynchronously(T entity,
DeletionListener<T> listener,
QueryOptions options) |
<T> Cancellable |
CassandraOperations.deleteAsynchronously(T entity,
DeletionListener<T> listener,
QueryOptions options)
Remove the given object from the table by id.
|
<T> Cancellable |
CassandraTemplate.deleteAsynchronously(T entity,
QueryOptions options) |
<T> Cancellable |
CassandraOperations.deleteAsynchronously(T entity,
QueryOptions options)
Remove the given object from the table by id.
|
protected <T> void |
CassandraTemplate.doBatchDelete(List<T> entities,
QueryOptions options) |
protected <T> Cancellable |
CassandraTemplate.doBatchDeleteAsync(List<T> entities,
DeletionListener listener,
QueryOptions options) |
protected <T> void |
CassandraTemplate.doDelete(T entity,
QueryOptions options) |
protected <T> Cancellable |
CassandraTemplate.doDeleteAsync(T entity,
DeletionListener listener,
QueryOptions options) |
protected <T> Cancellable |
CassandraTemplate.doSelectOneAsync(Object query,
Class<T> type,
QueryForObjectListener<T> listener,
QueryOptions options) |
<T> Cancellable |
CassandraTemplate.selectOneAsynchronously(com.datastax.driver.core.querybuilder.Select select,
Class<T> type,
QueryForObjectListener<T> listener,
QueryOptions options) |
<T> Cancellable |
CassandraOperations.selectOneAsynchronously(com.datastax.driver.core.querybuilder.Select select,
Class<T> type,
QueryForObjectListener<T> listener,
QueryOptions options)
Executes the
Select query asynchronously. |
<T> Cancellable |
CassandraTemplate.selectOneAsynchronously(String cql,
Class<T> type,
QueryForObjectListener<T> listener,
QueryOptions options) |
<T> Cancellable |
CassandraOperations.selectOneAsynchronously(String cql,
Class<T> type,
QueryForObjectListener<T> listener,
QueryOptions options)
Executes the string CQL query asynchronously.
|
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.