Class CassandraRepositoryQuerySupport
java.lang.Object
org.springframework.data.cassandra.repository.query.CassandraRepositoryQuerySupport
- All Implemented Interfaces:
RepositoryQuery
- Direct Known Subclasses:
AbstractCassandraQuery
,AbstractReactiveCassandraQuery
Base class for Cassandra
RepositoryQuery
implementations providing common infrastructure such as
EntityInstantiators
and QueryStatementCreator
.- Since:
- 2.0
- Author:
- Mark Paluch
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCassandraRepositoryQuerySupport
(CassandraQueryMethod queryMethod) Deprecated.CassandraRepositoryQuerySupport
(CassandraQueryMethod queryMethod, MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected EntityInstantiators
protected org.springframework.data.cassandra.repository.query.QueryStatementCreator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.repository.query.RepositoryQuery
execute
-
Field Details
-
log
-
-
Constructor Details
-
CassandraRepositoryQuerySupport
- Parameters:
queryMethod
- must not be null.
-
CassandraRepositoryQuerySupport
public CassandraRepositoryQuerySupport(CassandraQueryMethod queryMethod, MappingContext<? extends CassandraPersistentEntity<?>, CassandraPersistentProperty> mappingContext) - Parameters:
queryMethod
- must not be null.mappingContext
- must not be null.- Since:
- 2.1
-
-
Method Details
-
getQueryMethod
- Specified by:
getQueryMethod
in interfaceRepositoryQuery
-
getEntityInstantiators
-
getQueryStatementCreator
protected org.springframework.data.cassandra.repository.query.QueryStatementCreator getQueryStatementCreator()
-
CassandraRepositoryQuerySupport(CassandraQueryMethod, MappingContext)