public static class GeoDistanceFunction.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
GeoDistanceFunction |
to(double latitude,
double longitude) |
GeoDistanceFunction |
to(org.springframework.data.geo.Point location) |
public Builder(String fieldname)
fieldname - must not be emptypublic GeoDistanceFunction to(org.springframework.data.geo.Point location)
location - must not be nullpublic GeoDistanceFunction to(double latitude, double longitude)
latitude - longitude - Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.