Uses of Interface
org.springframework.data.cassandra.core.cql.RowMapper
Packages that use RowMapper
Package
Description
CQL core support.
CQL legacy core asynchronous support for easier migration.
-
Uses of RowMapper in org.springframework.data.cassandra.core.cql
Classes in org.springframework.data.cassandra.core.cql that implement RowMapperModifier and TypeClassDescriptionclass
RowMapper
implementation that converts aRow
into a new instance of the specified mapped target class.class
RowMapper
implementation that creates ajava.util.Map
for each row, representing all columns as key-value pairs: one entry for each column, with the column name as key.class
RowMapper
implementation that converts a row into a new instance of the specified mapped target class.class
RowMapper
implementation that converts a single column into a single result value per row.Methods in org.springframework.data.cassandra.core.cql that return RowMapperModifier and TypeMethodDescriptionReactiveCqlTemplate.getColumnMapRowMapper()
Create a new RowMapper for reading columns as key-value pairs.protected <T> RowMapper<T>
ReactiveCqlTemplate.getSingleColumnRowMapper
(Class<T> requiredType) Create a new RowMapper for reading result objects from a single column.CassandraAccessor.newColumnMapRowMapper()
Create a new RowMapper for reading columns as key-value pairs.protected <T> RowMapper<T>
CassandraAccessor.newSingleColumnRowMapper
(Class<T> requiredType) Create a new RowMapper for reading result objects from a single column.Methods in org.springframework.data.cassandra.core.cql with parameters of type RowMapperModifier and TypeMethodDescriptionprotected <T> AsyncRowMapperResultSetExtractor<T>
AsyncCqlTemplate.newAsyncResultSetExtractor
(RowMapper<T> rowMapper) Constructs a new instance of theResultSetExtractor
adapting the givenRowMapper
.protected <T> RowMapperResultSetExtractor<T>
CqlTemplate.newResultSetExtractor
(RowMapper<T> rowMapper) Constructs a new instance of theResultSetExtractor
adapting the givenRowMapper
.protected <T> RowMapperResultSetExtractor<T>
CqlTemplate.newResultSetExtractor
(RowMapper<T> rowMapper, int rowsExpected) Constructs a new instance of theResultSetExtractor
adapting the givenRowMapper
.protected <T> ResultSetExtractor<Stream<T>>
CqlTemplate.newStreamExtractor
(RowMapper<T> rowMapper) Constructs a new instance of theResultSetExtractor
adapting the givenRowMapper
.<T> CompletableFuture<List<T>>
AsyncCqlOperations.query
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) Execute a query given static CQL, mapping each row to a Java object via aRowMapper
.<T> CompletableFuture<List<T>>
AsyncCqlOperations.query
(String cql, PreparedStatementBinder psb, RowMapper<T> rowMapper) Query given CQL to create a prepared statement from CQL and aPreparedStatementBinder
implementation that knows how to bind values to the query, mapping each row to a Java object via aRowMapper
.<T> CompletableFuture<List<T>>
Execute a query given static CQL, mapping each row to a Java object via aRowMapper
.<T> CompletableFuture<List<T>>
Query given CQL to create a prepared statement from CQL and a list of arguments to bind to the query, mapping each row to a Java object via aRowMapper
.<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
.<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<List<T>>
AsyncCqlTemplate.query
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) <T> CompletableFuture<List<T>>
AsyncCqlTemplate.query
(String cql, PreparedStatementBinder psb, RowMapper<T> rowMapper) <T> CompletableFuture<List<T>>
<T> CompletableFuture<List<T>>
<T> CompletableFuture<List<T>>
AsyncCqlTemplate.query
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, RowMapper<T> rowMapper) <T> CompletableFuture<List<T>>
AsyncCqlTemplate.query
(AsyncPreparedStatementCreator preparedStatementCreator, RowMapper<T> rowMapper) <T> List<T>
CqlOperations.query
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) Execute a query given static CQL, mapping each row to a Java object via aRowMapper
.<T> List<T>
CqlOperations.query
(String cql, PreparedStatementBinder psb, RowMapper<T> rowMapper) Query given CQL to create a prepared statement from CQL and aPreparedStatementBinder
implementation that knows how to bind values to the query, mapping each row to a Java object via aRowMapper
.<T> List<T>
Execute a query given static CQL, mapping each row to a Java object via aRowMapper
.<T> List<T>
Query given CQL to create a prepared statement from CQL and a list of arguments to bind to the query, mapping each row to a Java object via aRowMapper
.<T> List<T>
CqlOperations.query
(PreparedStatementCreator 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
.<T> List<T>
CqlOperations.query
(PreparedStatementCreator preparedStatementCreator, RowMapper<T> rowMapper) Query using a prepared statement, mapping each row to a Java object via aRowMapper
.<T> List<T>
CqlTemplate.query
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) <T> List<T>
CqlTemplate.query
(String cql, PreparedStatementBinder psb, RowMapper<T> rowMapper) <T> List<T>
<T> List<T>
<T> List<T>
CqlTemplate.query
(PreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, RowMapper<T> rowMapper) <T> List<T>
CqlTemplate.query
(PreparedStatementCreator preparedStatementCreator, RowMapper<T> rowMapper) <T> reactor.core.publisher.Flux<T>
ReactiveCqlOperations.query
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) Execute a query given static CQL, mapping each row to a Java object via aRowMapper
.<T> reactor.core.publisher.Flux<T>
ReactiveCqlOperations.query
(String cql, PreparedStatementBinder psb, RowMapper<T> rowMapper) Query given CQL to create a prepared statement from CQL and aPreparedStatement
Binder implementation that knows how to bind values to the query, mapping each row to a Java object via aRowMapper
.<T> reactor.core.publisher.Flux<T>
Execute a query given static CQL, mapping each row to a Java object via aRowMapper
.<T> reactor.core.publisher.Flux<T>
Query given CQL to create a prepared statement from CQL and a list of arguments to bind to the query, mapping each row to a Java object via aRowMapper
.<T> reactor.core.publisher.Flux<T>
ReactiveCqlOperations.query
(ReactivePreparedStatementCreator psc, 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
.<T> reactor.core.publisher.Flux<T>
ReactiveCqlOperations.query
(ReactivePreparedStatementCreator psc, RowMapper<T> rowMapper) Query using a prepared statement, mapping each row to a Java object via aRowMapper
.<T> reactor.core.publisher.Flux<T>
ReactiveCqlTemplate.query
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) <T> reactor.core.publisher.Flux<T>
ReactiveCqlTemplate.query
(String cql, PreparedStatementBinder psb, RowMapper<T> rowMapper) <T> reactor.core.publisher.Flux<T>
<T> reactor.core.publisher.Flux<T>
<T> reactor.core.publisher.Flux<T>
ReactiveCqlTemplate.query
(ReactivePreparedStatementCreator psc, PreparedStatementBinder psb, RowMapper<T> rowMapper) <T> reactor.core.publisher.Flux<T>
ReactiveCqlTemplate.query
(ReactivePreparedStatementCreator psc, RowMapper<T> rowMapper) <T> CompletableFuture<T>
AsyncCqlOperations.queryForObject
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) Execute a query given static CQL, mapping a single result row to a Java object via aRowMapper
.<T> CompletableFuture<T>
AsyncCqlOperations.queryForObject
(String cql, RowMapper<T> rowMapper) Execute a query given static CQL, mapping a single result row to a Java object via aRowMapper
.<T> CompletableFuture<T>
AsyncCqlOperations.queryForObject
(String cql, RowMapper<T> rowMapper, Object... args) Query given CQL to create a prepared statement from CQL and a list of arguments to bind to the query, mapping a single result row to a Java object via aRowMapper
.<T> CompletableFuture<T>
AsyncCqlTemplate.queryForObject
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) <T> CompletableFuture<T>
AsyncCqlTemplate.queryForObject
(String cql, RowMapper<T> rowMapper) <T> CompletableFuture<T>
AsyncCqlTemplate.queryForObject
(String cql, RowMapper<T> rowMapper, Object... args) <T> T
CqlOperations.queryForObject
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) Execute a query given static CQL, mapping a single result row to a Java object via aRowMapper
.<T> T
CqlOperations.queryForObject
(String cql, RowMapper<T> rowMapper) Execute a query given static CQL, mapping a single result row to a Java object via aRowMapper
.<T> T
CqlOperations.queryForObject
(String cql, RowMapper<T> rowMapper, Object... args) Query given CQL to create a prepared statement from CQL and a list of arguments to bind to the query, mapping a single result row to a Java object via aRowMapper
.<T> T
CqlTemplate.queryForObject
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) <T> T
CqlTemplate.queryForObject
(String cql, RowMapper<T> rowMapper) <T> T
CqlTemplate.queryForObject
(String cql, RowMapper<T> rowMapper, Object... args) <T> reactor.core.publisher.Mono<T>
ReactiveCqlOperations.queryForObject
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) Execute a query given static CQL, mapping a single result row to a Java object via aRowMapper
.<T> reactor.core.publisher.Mono<T>
ReactiveCqlOperations.queryForObject
(String cql, RowMapper<T> rowMapper) Execute a query given static CQL, mapping a single result row to a Java object via aRowMapper
.<T> reactor.core.publisher.Mono<T>
ReactiveCqlOperations.queryForObject
(String cql, RowMapper<T> rowMapper, Object... args) Query given CQL to create a prepared statement from CQL and a list of arguments to bind to the query, mapping a single result row to a Java object via aRowMapper
.<T> reactor.core.publisher.Mono<T>
ReactiveCqlTemplate.queryForObject
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) <T> reactor.core.publisher.Mono<T>
ReactiveCqlTemplate.queryForObject
(String cql, RowMapper<T> rowMapper) <T> reactor.core.publisher.Mono<T>
ReactiveCqlTemplate.queryForObject
(String cql, RowMapper<T> rowMapper, Object... args) <T> Stream<T>
CqlOperations.queryForStream
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) <T> Stream<T>
CqlOperations.queryForStream
(String cql, RowMapper<T> rowMapper, Object... args) <T> Stream<T>
CqlOperations.queryForStream
(PreparedStatementCreator 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
and turning it into an iterableStream
.<T> Stream<T>
CqlOperations.queryForStream
(PreparedStatementCreator preparedStatementCreator, RowMapper<T> rowMapper) <T> Stream<T>
CqlTemplate.queryForStream
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) <T> Stream<T>
CqlTemplate.queryForStream
(String cql, RowMapper<T> rowMapper, Object... args) <T> Stream<T>
CqlTemplate.queryForStream
(PreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, RowMapper<T> rowMapper) <T> Stream<T>
CqlTemplate.queryForStream
(PreparedStatementCreator preparedStatementCreator, RowMapper<T> rowMapper) Constructors in org.springframework.data.cassandra.core.cql with parameters of type RowMapperModifierConstructorDescriptionAsyncRowMapperResultSetExtractor
(RowMapper<T> rowMapper) Create a newAsyncRowMapperResultSetExtractor
.ReactiveRowMapperResultSetExtractor
(RowMapper<T> rowMapper) Create a newReactiveRowMapperResultSetExtractor
.RowMapperResultSetExtractor
(RowMapper<T> rowMapper) Create a newRowMapperResultSetExtractor
.RowMapperResultSetExtractor
(RowMapper<T> rowMapper, int rowsExpected) Create a newRowMapperResultSetExtractor
. -
Uses of RowMapper in org.springframework.data.cassandra.core.cql.legacy
Methods in org.springframework.data.cassandra.core.cql.legacy with parameters of type RowMapperModifier and TypeMethodDescriptionprotected <T> AsyncRowMapperResultSetExtractor<T>
AsyncCqlTemplate.newAsyncResultSetExtractor
(RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.Constructs a new instance of theResultSetExtractor
adapting the givenRowMapper
.<T> ListenableFuture<List<T>>
AsyncCqlOperations.query
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.Execute a query given static CQL, mapping each row to a Java object via aRowMapper
.<T> ListenableFuture<List<T>>
AsyncCqlOperations.query
(String cql, PreparedStatementBinder psb, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.Query given CQL to create a prepared statement from CQL and aPreparedStatementBinder
implementation that knows how to bind values to the query, mapping each row to a Java object via aRowMapper
.<T> ListenableFuture<List<T>>
Deprecated, for removal: This API element is subject to removal in a future version.Execute a query given static CQL, mapping each row to a Java object via aRowMapper
.<T> ListenableFuture<List<T>>
Deprecated, for removal: This API element is subject to removal in a future version.Query given CQL to create a prepared statement from CQL and a list of arguments to bind to the query, mapping each row to a Java object via aRowMapper
.<T> ListenableFuture<List<T>>
AsyncCqlOperations.query
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.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
.<T> ListenableFuture<List<T>>
AsyncCqlOperations.query
(AsyncPreparedStatementCreator preparedStatementCreator, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.Query using a prepared statement, mapping each row to a Java object via aRowMapper
.<T> ListenableFuture<List<T>>
AsyncCqlTemplate.query
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.<T> ListenableFuture<List<T>>
AsyncCqlTemplate.query
(String cql, PreparedStatementBinder psb, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.<T> ListenableFuture<List<T>>
Deprecated, for removal: This API element is subject to removal in a future version.<T> ListenableFuture<List<T>>
Deprecated, for removal: This API element is subject to removal in a future version.<T> ListenableFuture<List<T>>
AsyncCqlTemplate.query
(AsyncPreparedStatementCreator preparedStatementCreator, PreparedStatementBinder psb, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.<T> ListenableFuture<List<T>>
AsyncCqlTemplate.query
(AsyncPreparedStatementCreator preparedStatementCreator, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.<T> ListenableFuture<T>
AsyncCqlOperations.queryForObject
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.Execute a query given static CQL, mapping a single result row to a Java object via aRowMapper
.<T> ListenableFuture<T>
AsyncCqlOperations.queryForObject
(String cql, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.Execute a query given static CQL, mapping a single result row to a Java object via aRowMapper
.<T> ListenableFuture<T>
AsyncCqlOperations.queryForObject
(String cql, RowMapper<T> rowMapper, Object... args) Deprecated, for removal: This API element is subject to removal in a future version.Query given CQL to create a prepared statement from CQL and a list of arguments to bind to the query, mapping a single result row to a Java object via aRowMapper
.<T> ListenableFuture<T>
AsyncCqlTemplate.queryForObject
(com.datastax.oss.driver.api.core.cql.Statement<?> statement, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.<T> ListenableFuture<T>
AsyncCqlTemplate.queryForObject
(String cql, RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.<T> ListenableFuture<T>
AsyncCqlTemplate.queryForObject
(String cql, RowMapper<T> rowMapper, Object... args) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.springframework.data.cassandra.core.cql.legacy with parameters of type RowMapperModifierConstructorDescriptionAsyncRowMapperResultSetExtractor
(RowMapper<T> rowMapper) Deprecated, for removal: This API element is subject to removal in a future version.Create a newAsyncRowMapperResultSetExtractor
.