Uses of Interface
org.springframework.data.cassandra.core.cql.AsyncPreparedStatementCreator
Packages that use AsyncPreparedStatementCreator
Package
Description
Apache Cassandra core support.
CQL core support.
-
Uses of AsyncPreparedStatementCreator in org.springframework.data.cassandra.core
Subinterfaces of AsyncPreparedStatementCreator in org.springframework.data.cassandra.coreModifier and TypeInterfaceDescriptionstatic interface
General callback interface used to create and bind prepared CQL statements. -
Uses of AsyncPreparedStatementCreator in org.springframework.data.cassandra.core.cql
Methods in org.springframework.data.cassandra.core.cql that return AsyncPreparedStatementCreatorModifier and TypeMethodDescriptionprotected AsyncPreparedStatementCreator
AsyncCqlTemplate.newAsyncPreparedStatementCreator
(String cql) Create a new CQL-basedAsyncPreparedStatementCreator
using the CQL passed in.Methods in org.springframework.data.cassandra.core.cql with parameters of type AsyncPreparedStatementCreatorModifier and TypeMethodDescriptionAsyncCqlOperations.execute
(AsyncPreparedStatementCreator preparedStatementCreator) Issue a single CQL execute operation (such as an insert, update or delete statement) using aAsyncPreparedStatementCreator
to provide CQL and any required parameters.<T> CompletableFuture<T>
AsyncCqlOperations.execute
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementCallback<T> action) Execute a CQL data access operation, implemented as callback action working on a CQLPreparedStatement
.AsyncCqlTemplate.execute
(AsyncPreparedStatementCreator preparedStatementCreator) <T> CompletableFuture<T>
AsyncCqlTemplate.execute
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementCallback<T> action) <T> CompletableFuture<T>
AsyncCqlOperations.query
(AsyncPreparedStatementCreator preparedStatementCreator, AsyncResultSetExtractor<T> resultSetExtractor) Query using a prepared statement, reading theResultSet
with aAsyncResultSetExtractor
.<T> CompletableFuture<T>
AsyncCqlOperations.query
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, AsyncResultSetExtractor<T> resultSetExtractor) Query using a prepared statement and aPreparedStatementBinder
implementation that knows how to bind values to the query, reading theResultSet
with aAsyncResultSetExtractor
.AsyncCqlOperations.query
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, RowCallbackHandler rowCallbackHandler) Query using a prepared statement and aPreparedStatementBinder
implementation that knows how to bind values to the query, reading theResultSet
on a per-row basis with aRowCallbackHandler
.<T> CompletableFuture<List<T>>
AsyncCqlOperations.query
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, RowMapper<T> rowMapper) Query using a prepared statement and aPreparedStatementBinder
implementation that knows how to bind values to the query, mapping each row to a Java object via aRowMapper
.AsyncCqlOperations.query
(AsyncPreparedStatementCreator preparedStatementCreator, RowCallbackHandler rowCallbackHandler) Query using a prepared statement, reading theResultSet
on a per-row basis with aRowCallbackHandler
.<T> CompletableFuture<List<T>>
AsyncCqlOperations.query
(AsyncPreparedStatementCreator preparedStatementCreator, RowMapper<T> rowMapper) Query using a prepared statement, mapping each row to a Java object via aRowMapper
.<T> CompletableFuture<T>
AsyncCqlTemplate.query
(AsyncPreparedStatementCreator preparedStatementCreator, AsyncResultSetExtractor<T> resultSetExtractor) <T> CompletableFuture<T>
AsyncCqlTemplate.query
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, AsyncResultSetExtractor<T> resultSetExtractor) AsyncCqlTemplate.query
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, RowCallbackHandler rowCallbackHandler) <T> CompletableFuture<List<T>>
AsyncCqlTemplate.query
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, RowMapper<T> rowMapper) AsyncCqlTemplate.query
(AsyncPreparedStatementCreator preparedStatementCreator, RowCallbackHandler rowCallbackHandler) <T> CompletableFuture<List<T>>
AsyncCqlTemplate.query
(AsyncPreparedStatementCreator preparedStatementCreator, RowMapper<T> rowMapper)