public class MongoQueryMethod
extends org.springframework.data.repository.query.QueryMethod
QueryMethod
.Constructor and Description |
---|
MongoQueryMethod(Method method,
org.springframework.data.repository.core.RepositoryMetadata metadata,
org.springframework.data.mapping.context.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() |
boolean |
hasAnnotatedQuery()
Returns whether the method has an annotated query.
|
boolean |
isGeoNearQuery()
Returns whether te query is a geo near query.
|
public MongoQueryMethod(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.mapping.context.MappingContext<? extends MongoPersistentEntity<?>,MongoPersistentProperty> mappingContext)
MongoQueryMethod
from the given Method
.method
- protected MongoParameters createParameters(Method method)
createParameters
in class org.springframework.data.repository.query.QueryMethod
public boolean hasAnnotatedQuery()
public MongoEntityMetadata<?> getEntityInformation()
getEntityInformation
in class org.springframework.data.repository.query.QueryMethod
public MongoParameters getParameters()
getParameters
in class org.springframework.data.repository.query.QueryMethod
public boolean isGeoNearQuery()
Copyright © 2015. All rights reserved.