org.springframework.data.mongodb.repository.query

Interface MongoParameterAccessor

    • Method Detail

      • getDistanceRange

        Range<Distance> getDistanceRange()
        Returns a Distance to be applied to Mongo geo queries.
        Returns:
        the maximum distance to apply to the geo query or null if there's no Distance parameter at all or the given value for it was null.
      • getGeoNearLocation

        @Nullable
        Point getGeoNearLocation()
        Returns the Point to use for a geo-near query.
        Returns:
      • getValues

        Object[] getValues()
        Returns the raw parameter values of the underlying query method.
        Returns:
        Since:
        1.8