public class MongoParametersParameterAccessor extends 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 |
|---|---|
TextCriteria |
getFullText()
Returns the
TextCriteria to be used for full text query. |
Point |
getGeoNearLocation()
Returns the
Point to use for a geo-near query. |
Distance |
getMaxDistance()
Returns a
Distance to be applied to Mongo geo queries. |
protected TextCriteria |
potentiallyConvertFullText(Object fullText) |
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 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 Point getGeoNearLocation()
MongoParameterAccessorPoint to use for a geo-near query.getGeoNearLocation in interface MongoParameterAccessorpublic TextCriteria getFullText()
MongoParameterAccessorTextCriteria to be used for full text query.getFullText in interface MongoParameterAccessorprotected TextCriteria potentiallyConvertFullText(Object fullText)
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.