org.springframework.data.mongodb.repository
Annotation Type Near


@Documented
@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface Near

Annotation to be used for disambiguing method parameters that shall be used to trigger geo near queries. By default those parameters are found without the need for additional annotation if they are the only parameters of the according type (e.g. Point, double[], Distance).

Author:
Oliver Gierke



Copyright © 2011. All Rights Reserved.