Module spring.data.cassandra
Package org.springframework.data.cassandra.core.cql
@NonNullApi
package org.springframework.data.cassandra.core.cql
CQL core support.
-
ClassDescriptionSimple adapter for
PreparedStatementBinder
that applies a given array of arguments.Interface specifying a basic set of CQL asynchronously executed operations.This is the central class in the CQL core package for asynchronous Cassandra data access. It simplifies the use of CQL and helps to avoid common errors.Adapter to enable use of aRowCallbackHandler
inside aResultSetExtractor
.One of the two central callback interfaces used by theAsyncCqlTemplate
class.Callback interface used byAsyncCqlTemplate
's query methods.Adapter implementation of theResultSetExtractor
interface that delegates to aRowMapper
which is supposed to create an object for each row.Generic callback interface for code that operates asynchronously on a CassandraCqlSession
.RowMapper
implementation that converts aRow
into a new instance of the specified mapped target class.Deprecated.since 2.0.CassandraAccessor
provides access to a CassandraSessionFactory
and theCassandraExceptionTranslator
.SimplePersistenceExceptionTranslator
for Cassandra.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.Strategy interface for translating betweendriver exceptions
and Spring's data access strategy-agnosticDataAccessException
hierarchy.Deprecated.since 3.0, useCqlIdentifier
instead.Interface specifying a basic set of CQL operations.Interface to be implemented by objects that can provide CQL strings.This is the central class in the CQL core package. It simplifies the use of CQL and helps to avoid common errors.Adapter to enable use of aRowCallbackHandler
inside aResultSetExtractor
.RowMapper
implementation that converts a row into a new instance of the specified mapped target class.Resolver for aDriverExecutionProfile
used withStatement.setExecutionProfileName(String)
orStatement.setExecutionProfile(DriverExecutionProfile)
.HostMapper<T>An interface used byCqlTemplate
for mappingNode
s of metadata on a per-item basis..Data access exception thrown when a result set did not have the correct column count, for example when expecting a single column but getting 0 or more than 1 columns.Deprecated.since 3.0, useCqlIdentifier
.Enum for Cassandra primary key column ordering.General callback interface used by theCqlTemplate
andReactiveCqlTemplate
classes.Generic callback interface for code that operates on aPreparedStatement
.One of the two central callback interfaces used by theCqlTemplate
class.Values representing primary key column types.Utility to extract CQL queries from aStatement
.Cassandra Query Options for queries.Builder forQueryOptions
.Wrapper for common options used with CQL statements that are represented in the CQL statement such as TTL and timestamp.Base class forReactiveCqlTemplate
and other CQL-accessing DAO helpers, defining common properties such asReactiveSessionFactory
and exception translator.Interface specifying a basic set of CQL operations executed in a reactive fashion.This is the central class in the CQL core package for reactive Cassandra data access. It simplifies the use of CQL and helps to avoid common errors.Generic callback interface for code that operates on aPreparedStatement
.One of the two central callback interfaces used by theReactiveCqlTemplate
class.Callback interface used byReactiveCqlTemplate
's query methods.Adapter implementation of theReactiveResultSetExtractor
interface that delegates to aRowMapper
which is supposed to create an object for each row.Generic callback interface for code that operates on a CQLReactiveSession
.Generic callback interface for code that operates on a CQLStatement
.Deprecated.since 3.0 without replacement.Callback interface used byCqlTemplate
's query methods.Domain object representing a Cassandra host.HostMapper
to to map hosts intoRingMember
objects.An interface used byCqlTemplate
for processing rows of aResultSet
on a per-row basis.RowMapper<T>An interface used byCqlTemplate
for mapping rows of aResultSet
on a per-row basis.Adapter implementation of theResultSetExtractor
interface that delegates to aRowMapper
which is supposed to create an object for each row.Generic utility methods for working with Cassandra.Generic callback interface for code that operates on a CassandraCqlSession
.Trivial implementation ofPreparedStatementCreator
.RowMapper
implementation that converts a single column into a single result value per row.Cassandra Write Options are an extension toQueryOptions
for write operations.Builder forWriteOptions
.