public class MongoParametersParameterAccessor extends org.springframework.data.repository.query.ParametersParameterAccessor implements MongoParameterAccessor
ParametersParameterAccessor to allow access to the Distance parameter.| Constructor and Description |
|---|
MongoParametersParameterAccessor(MongoQueryMethod method,
Object[] values)
Creates a new
MongoParametersParameterAccessor. |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.geo.Point |
getGeoNearLocation()
Returns the
Point to use for a geo-near query. |
org.springframework.data.geo.Distance |
getMaxDistance()
Returns a
Distance to be applied to Mongo geo queries. |
getBindableValue, getPageable, getParameters, getSort, getValue, hasBindableNullValue, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBindableValue, getPageable, getSort, hasBindableNullValue, iteratorforEach, spliteratorpublic MongoParametersParameterAccessor(MongoQueryMethod method, Object[] values)
MongoParametersParameterAccessor.method - must not be null.values - must not be .public org.springframework.data.geo.Distance getMaxDistance()
MongoParameterAccessorDistance to be applied to Mongo geo queries.getMaxDistance in interface MongoParameterAccessorDistance parameter
at all or the given value for it was null.public org.springframework.data.geo.Point getGeoNearLocation()
MongoParameterAccessorPoint to use for a geo-near query.getGeoNearLocation in interface MongoParameterAccessorCopyright © 2021. All rights reserved.