public class MongoQueryMethod extends QueryMethod
QueryMethod.| Constructor and Description |
|---|
MongoQueryMethod(Method method,
RepositoryMetadata metadata,
MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
Creates a new
MongoQueryMethod from the given Method. |
| Modifier and Type | Method and Description |
|---|---|
protected MongoParameters |
createParameters(Method method) |
MongoEntityMetadata<?> |
getEntityInformation() |
MongoParameters |
getParameters() |
Meta |
getQueryMetaAttributes()
Returns the
Meta attributes to be applied. |
boolean |
hasAnnotatedQuery()
Returns whether the method has an annotated query.
|
boolean |
hasQueryMetaAttributes() |
boolean |
isGeoNearQuery()
Returns whether the query is a geo near query.
|
getDomainClass, getName, getNamedQueryName, getReturnedObjectType, isCollectionQuery, isModifyingQuery, isPageQuery, isQueryForEntity, isSliceQuery, toStringpublic MongoQueryMethod(Method method, RepositoryMetadata metadata, MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
MongoQueryMethod from the given Method.method - protected MongoParameters createParameters(Method method)
createParameters in class QueryMethodpublic boolean hasAnnotatedQuery()
public MongoEntityMetadata<?> getEntityInformation()
getEntityInformation in class QueryMethodpublic MongoParameters getParameters()
getParameters in class QueryMethodpublic boolean isGeoNearQuery()
public boolean hasQueryMetaAttributes()
Meta annotation is available.Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.