| Package | Description |
|---|---|
| org.springframework.cassandra.core |
CQL core support.
|
| Modifier and Type | Class and Description |
|---|---|
class |
WriteOptions
Cassandra Write Options are an extension to
QueryOptions for write operations. |
| Modifier and Type | Method and Description |
|---|---|
QueryOptions |
QueryOptions.QueryOptionsBuilder.build()
Builds a new
QueryOptions with the configured values. |
| Modifier and Type | Method and Description |
|---|---|
static com.datastax.driver.core.PreparedStatement |
CqlTemplate.addPreparedStatementOptions(com.datastax.driver.core.PreparedStatement preparedStatement,
QueryOptions queryOptions)
Add common
QueryOptions to Cassandra PreparedStatements. |
static <T extends com.datastax.driver.core.Statement> |
CqlTemplate.addQueryOptions(T statement,
QueryOptions queryOptions)
Add common
QueryOptions to all types of queries. |
protected com.datastax.driver.core.ResultSet |
CqlTemplate.doExecute(String cql,
QueryOptions queryOptions) |
protected Cancellable |
CqlTemplate.doExecuteAsync(com.datastax.driver.core.Statement statement,
AsynchronousQueryListener listener,
QueryOptions queryOptions) |
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 queryOptions) |
com.datastax.driver.core.ResultSetFuture |
CqlOperations.executeAsynchronously(String cql,
QueryOptions options)
Executes the supplied Query Asynchronously and returns nothing.
|
<T> T |
CqlTemplate.query(PreparedStatementCreator preparedStatementCreator,
PreparedStatementBinder preparedStatementBinder,
ResultSetExtractor<T> resultSetExtractor,
QueryOptions queryOptions) |
<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 preparedStatementCreator,
PreparedStatementBinder preparedStatementBinder,
RowCallbackHandler rowCallbackHandler,
QueryOptions queryOptions) |
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 preparedStatementCreator,
PreparedStatementBinder preparedStatementBinder,
RowMapper<T> rowMapper,
QueryOptions queryOptions) |
<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 preparedStatementCreator,
ResultSetExtractor<T> resultSetExtractor,
QueryOptions queryOptions) |
<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 preparedStatementCreator,
RowCallbackHandler rowCallbackHandler,
QueryOptions queryOptions) |
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 preparedStatementCreator,
RowMapper<T> rowMapper,
QueryOptions queryOptions) |
<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 preparedStatementBinder,
ResultSetExtractor<T> resultSetExtractor,
QueryOptions queryOptions) |
<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 preparedStatementBinder,
RowCallbackHandler rowCallbackHandler,
QueryOptions queryOptions) |
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 preparedStatementBinder,
RowMapper<T> rowMapper,
QueryOptions queryOptions) |
<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 queryOptions) |
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> resultSetExtractor,
QueryOptions queryOptions) |
<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 rowCallbackHandler,
QueryOptions queryOptions) |
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 queryOptions) |
<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 queryOptions) |
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 queryOptions,
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 queryOptions) |
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> resultSetExtractor,
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> resultSetFutureExtractor,
QueryOptions queryOptions) |
Cancellable |
CqlTemplate.queryAsynchronously(String cql,
Runnable listener,
QueryOptions queryOptions) |
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 queryOptions,
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 queryOptions) |
Cancellable |
CqlOperations.queryForListOfMapAsynchronously(String cql,
QueryForListListener<Map<String,Object>> listener,
QueryOptions options)
|
Cancellable |
CqlTemplate.queryForMapAsynchronously(String cql,
QueryForMapListener listener,
QueryOptions queryOptions) |
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. |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.