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 |
|---|---|
Collation |
getCollation()
Returns the
Collation to be used for the query. |
Range<Distance> |
getDistanceRange()
Returns a
Distance to be applied to Mongo geo queries. |
TextCriteria |
getFullText()
Returns the
TextCriteria to be used for full text query. |
Point |
getGeoNearLocation()
Returns the
Point to use for a geo-near query. |
Object[] |
getValues()
Returns the raw parameter values of the underlying query method.
|
protected TextCriteria |
potentiallyConvertFullText(Object fullText) |
findDynamicProjection, getBindableValue, getDynamicProjection, getPageable, getParameters, getSort, getValue, hasBindableNullValue, iteratorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindDynamicProjection, getBindableValue, getDynamicProjection, getPageable, getSort, hasBindableNullValue, iteratorforEach, spliteratorpublic MongoParametersParameterAccessor(MongoQueryMethod method, Object[] values)
MongoParametersParameterAccessor.method - must not be null.values - must not be null.public Range<Distance> getDistanceRange()
MongoParameterAccessorDistance to be applied to Mongo geo queries.getDistanceRange 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 MongoParameterAccessor@Nullable public TextCriteria getFullText()
MongoParameterAccessorTextCriteria to be used for full text query.getFullText in interface MongoParameterAccessorprotected TextCriteria potentiallyConvertFullText(Object fullText)
public Collation getCollation()
MongoParameterAccessorCollation to be used for the query.getCollation in interface MongoParameterAccessorpublic Object[] getValues()
MongoParameterAccessorgetValues in interface MongoParameterAccessorgetValues in class ParametersParameterAccessorCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.