java.lang.Iterable<GeoPoint>, java.util.Collection<GeoPoint>, java.util.List<GeoPoint>public static final class ScriptDocValues.GeoPoints extends ScriptDocValues<GeoPoint>
ScriptDocValues.Booleans, ScriptDocValues.BytesRefs, ScriptDocValues.Dates, ScriptDocValues.Doubles, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings| Constructor | Description |
|---|---|
GeoPoints(MultiGeoPointValues in) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
arcDistance(double lat,
double lon) |
|
double |
arcDistanceWithDefault(double lat,
double lon,
double defaultValue) |
|
double |
geohashDistance(java.lang.String geohash) |
|
double |
geohashDistanceWithDefault(java.lang.String geohash,
double defaultValue) |
|
GeoPoint |
get(int index) |
|
double |
getLat() |
|
double[] |
getLats() |
|
double |
getLon() |
|
double[] |
getLons() |
|
GeoPoint |
getValue() |
|
double |
planeDistance(double lat,
double lon) |
|
double |
planeDistanceWithDefault(double lat,
double lon,
double defaultValue) |
|
protected void |
resize(int newSize) |
|
void |
setNextDocId(int docId) |
Set the current doc ID.
|
int |
size() |
addAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListaddAll, contains, containsAll, isEmpty, removeAll, retainAll, spliterator, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, getValues, remove, replaceAll, set, sortpublic GeoPoints(MultiGeoPointValues in)
public void setNextDocId(int docId)
throws java.io.IOException
ScriptDocValuessetNextDocId in class ScriptDocValues<GeoPoint>java.io.IOExceptionprotected void resize(int newSize)
public GeoPoint getValue()
public double getLat()
public double[] getLats()
public double[] getLons()
public double getLon()
public GeoPoint get(int index)
public int size()
public double arcDistance(double lat,
double lon)
public double arcDistanceWithDefault(double lat,
double lon,
double defaultValue)
public double planeDistance(double lat,
double lon)
public double planeDistanceWithDefault(double lat,
double lon,
double defaultValue)
public double geohashDistance(java.lang.String geohash)
public double geohashDistanceWithDefault(java.lang.String geohash,
double defaultValue)