public class ReactiveMongoQueryMethod extends MongoQueryMethod
MongoQueryMethod.| Constructor and Description |
|---|
ReactiveMongoQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.projection.ProjectionFactory projectionFactory,
org.springframework.data.mapping.context.MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
Creates a new
ReactiveMongoQueryMethod from the given Method. |
| Modifier and Type | Method and Description |
|---|---|
protected MongoParameters |
createParameters(Method method) |
boolean |
hasReactiveWrapperParameter()
Check if the given
QueryMethod receives a reactive parameter
wrapper as one of its parameters. |
boolean |
isCollectionQuery() |
boolean |
isGeoNearQuery()
Returns whether the query is a geo near query.
|
boolean |
isModifyingQuery() |
boolean |
isQueryForEntity() |
boolean |
isStreamQuery() |
void |
verify()
Verify the actual
QueryMethod is valid in terms of supported return and parameter types. |
getAnnotatedAggregation, getAnnotatedCollation, getAnnotatedSort, getDomainClass, getEntityInformation, getParameters, getQueryMetaAttributes, getUpdateSource, hasAnnotatedAggregation, hasAnnotatedCollation, hasAnnotatedQuery, hasAnnotatedSort, hasAnnotatedUpdate, hasQueryMetaAttributespublic ReactiveMongoQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory projectionFactory, org.springframework.data.mapping.context.MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
ReactiveMongoQueryMethod from the given Method.method - must not be null.metadata - must not be null.projectionFactory - must not be null.mappingContext - must not be null.protected MongoParameters createParameters(Method method)
createParameters in class MongoQueryMethodpublic boolean isCollectionQuery()
isCollectionQuery in class org.springframework.data.repository.query.QueryMethodpublic boolean isGeoNearQuery()
MongoQueryMethodisGeoNearQuery in class MongoQueryMethodpublic boolean isModifyingQuery()
isModifyingQuery in class MongoQueryMethodpublic boolean isQueryForEntity()
isQueryForEntity in class org.springframework.data.repository.query.QueryMethodpublic boolean isStreamQuery()
isStreamQuery in class org.springframework.data.repository.query.QueryMethodpublic boolean hasReactiveWrapperParameter()
QueryMethod receives a reactive parameter
wrapper as one of its parameters.public void verify()
MongoQueryMethodQueryMethod is valid in terms of supported return and parameter types.verify in class MongoQueryMethodCopyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.