public class MongoParameters extends Parameters
Parameters discovering additionalTYPES| Constructor and Description |
|---|
MongoParameters(Method method,
boolean isGeoNearMethod)
|
| Modifier and Type | Method and Description |
|---|---|
protected Parameter |
createParameter(MethodParameter parameter) |
int |
getDistanceIndex()
Returns the index of a
Distance parameter to be used for geo queries. |
int |
getNearIndex()
Returns the index of the parameter to be used to start a geo-near query from.
|
getBindableParameter, getBindableParameters, getNumberOfParameters, getPageableIndex, getParameter, getSortIndex, hasPageableParameter, hasParameterAt, hasSortParameter, hasSpecialParameter, isBindable, iterator, potentiallySortsDynamicallypublic MongoParameters(Method method, boolean isGeoNearMethod)
method - must not be null.queryMethod - must not be null.protected Parameter createParameter(MethodParameter parameter)
createParameter in class Parameterspublic int getDistanceIndex()
Distance parameter to be used for geo queries.public int getNearIndex()
Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.