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
ConstructorDescriptionReactiveCassandraQueryMethod
(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory projectionFactory, org.springframework.data.mapping.context.MappingContext<? extends CassandraPersistentEntity<?>, ? extends CassandraPersistentProperty> mappingContext) Create a newReactiveCassandraQueryMethod
from the givenMethod
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the givenQueryMethod
receives a reactive parameter wrapper as one of its parameters.boolean
boolean
Methods inherited from class org.springframework.data.cassandra.repository.query.CassandraQueryMethod
createParameters, getAnnotatedQuery, getDomainClass, getEntityInformation, getParameters, getRequiredAnnotatedConsistencyLevel, getRequiredAnnotatedQuery, getReturnType, hasAnnotatedQuery, hasConsistencyLevel, isResultSetQuery, verify
Methods inherited from class org.springframework.data.repository.query.QueryMethod
createParameters, getName, getNamedQueryName, getResultProcessor, getReturnedObjectType, isModifyingQuery, isPageQuery, isQueryForEntity, isScrollQuery, isSliceQuery, toString
-
Constructor Details
-
ReactiveCassandraQueryMethod
public ReactiveCassandraQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory projectionFactory, org.springframework.data.mapping.context.MappingContext<? extends CassandraPersistentEntity<?>, ? extends CassandraPersistentProperty> mappingContext) Create a newReactiveCassandraQueryMethod
from 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:
isCollectionQuery
in classorg.springframework.data.repository.query.QueryMethod
-
isStreamQuery
public boolean isStreamQuery()- Overrides:
isStreamQuery
in classorg.springframework.data.repository.query.QueryMethod
-
hasReactiveWrapperParameter
public boolean hasReactiveWrapperParameter()Check if the givenQueryMethod
receives a reactive parameter wrapper as one of its parameters.- Returns:
-