Class ReactiveCassandraQueryMethod
java.lang.Object
org.springframework.data.repository.query.QueryMethod
org.springframework.data.cassandra.repository.query.CassandraQueryMethod
org.springframework.data.cassandra.repository.query.ReactiveCassandraQueryMethod
Reactive specific implementation of
CassandraQueryMethod.- Since:
- 2.0
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionReactiveCassandraQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory projectionFactory, MappingContext<? extends CassandraPersistentEntity<?>, ? extends CassandraPersistentProperty> mappingContext) Create a newReactiveCassandraQueryMethodfrom the givenMethod. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the givenQueryMethodreceives a reactive parameter wrapper as one of its parameters.booleanbooleanMethods inherited from class CassandraQueryMethod
getAnnotatedQuery, getDomainClass, getEntityInformation, getParameters, getRequiredAnnotatedConsistencyLevel, getRequiredAnnotatedQuery, getReturnType, hasAnnotatedQuery, hasConsistencyLevel, isResultSetQuery, verifyMethods inherited from class QueryMethod
createParameters, getName, getNamedQueryName, getResultProcessor, getReturnedObjectType, isModifyingQuery, isPageQuery, isQueryForEntity, isScrollQuery, isSearchQuery, isSliceQuery, toString
-
Constructor Details
-
ReactiveCassandraQueryMethod
public ReactiveCassandraQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory projectionFactory, MappingContext<? extends CassandraPersistentEntity<?>, ? extends CassandraPersistentProperty> mappingContext) Create a newReactiveCassandraQueryMethodfrom the givenMethod.- Parameters:
method- must not be null.metadata- must not be null.projectionFactory- must not be null.mappingContext- must not be null.
-
-
Method Details
-
isCollectionQuery
public boolean isCollectionQuery()- Overrides:
isCollectionQueryin classQueryMethod
-
isStreamQuery
public boolean isStreamQuery()- Overrides:
isStreamQueryin classQueryMethod
-
hasReactiveWrapperParameter
public boolean hasReactiveWrapperParameter()Check if the givenQueryMethodreceives a reactive parameter wrapper as one of its parameters.- Returns:
-