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