org.elasticsearch.index.mapper.geo
Class GeoPointDocFieldData
java.lang.Object
org.elasticsearch.index.field.data.DocFieldData<GeoPointFieldData>
org.elasticsearch.index.mapper.geo.GeoPointDocFieldData
public class GeoPointDocFieldData
- extends DocFieldData<GeoPointFieldData>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeoPointDocFieldData
public GeoPointDocFieldData(GeoPointFieldData fieldData)
getValue
public GeoPoint getValue()
getValues
public GeoPoint[] getValues()
distance
public double distance(double lat,
double lon)
distanceInKm
public double distanceInKm(double lat,
double lon)
geohashDistance
public double geohashDistance(java.lang.String geohash)
geohashDistanceInKm
public double geohashDistanceInKm(java.lang.String geohash)
getLat
public double getLat()
getLon
public double getLon()
getLats
public double[] getLats()
getLons
public double[] getLons()