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(Field field)
field - must not be emptypublic GeoDistanceFunction to(Point location)
location - must not be nullpublic GeoDistanceFunction to(double latitude, double longitude)
latitude - longitude - Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.