public class ReactiveCassandraQueryMethod extends CassandraQueryMethod
CassandraQueryMethod
.Constructor and Description |
---|
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 new
ReactiveCassandraQueryMethod from the given Method . |
Modifier and Type | Method and Description |
---|---|
boolean |
hasReactiveWrapperParameter()
Check if the given
QueryMethod receives a reactive parameter
wrapper as one of its parameters. |
boolean |
isCollectionQuery() |
boolean |
isStreamQuery() |
createParameters, getAnnotatedQuery, getDomainClass, getEntityInformation, getParameters, getRequiredAnnotatedConsistencyLevel, getRequiredAnnotatedQuery, getReturnType, hasAnnotatedQuery, hasConsistencyLevel, isResultSetQuery, verify
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)
ReactiveCassandraQueryMethod
from the given Method
.method
- must not be null.metadata
- must not be null.projectionFactory
- must not be null.mappingContext
- must not be null.public boolean isCollectionQuery()
isCollectionQuery
in class org.springframework.data.repository.query.QueryMethod
public boolean isStreamQuery()
isStreamQuery
in class org.springframework.data.repository.query.QueryMethod
public boolean hasReactiveWrapperParameter()
QueryMethod
receives a reactive parameter
wrapper as one of its parameters.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.