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() |
getEntityInformation, getParameters, getQueryMetaAttributes, hasAnnotatedQuery, 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 org.springframework.data.repository.query.QueryMethodpublic 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.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.