public class ReactiveMongoQueryMethod extends MongoQueryMethod
MongoQueryMethod
.Constructor and Description |
---|
ReactiveMongoQueryMethod(Method method,
RepositoryMetadata metadata,
ProjectionFactory projectionFactory,
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, hasQueryMetaAttributes
getName, getNamedQueryName, getResultProcessor, getReturnedObjectType, isPageQuery, isSliceQuery, toString
public ReactiveMongoQueryMethod(Method method, RepositoryMetadata metadata, ProjectionFactory projectionFactory, 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 MongoQueryMethod
public boolean isCollectionQuery()
isCollectionQuery
in class QueryMethod
public boolean isGeoNearQuery()
MongoQueryMethod
isGeoNearQuery
in class MongoQueryMethod
public boolean isModifyingQuery()
isModifyingQuery
in class MongoQueryMethod
public boolean isQueryForEntity()
isQueryForEntity
in class QueryMethod
public boolean isStreamQuery()
isStreamQuery
in class QueryMethod
public boolean hasReactiveWrapperParameter()
QueryMethod
receives a reactive parameter
wrapper as one of its parameters.public void verify()
MongoQueryMethod
QueryMethod
is valid in terms of supported return and parameter types.verify
in class MongoQueryMethod
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.