Module org.elasticsearch.server
Class ScriptDocValues.GeoPoints
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
org.elasticsearch.index.fielddata.ScriptDocValues<T>
org.elasticsearch.index.fielddata.ScriptDocValues.Geometry<GeoPoint>
org.elasticsearch.index.fielddata.ScriptDocValues.GeoPoints
- Enclosing class:
- ScriptDocValues<T>
- 
Nested Class SummaryNested classes/interfaces inherited from class org.elasticsearch.index.fielddata.ScriptDocValuesScriptDocValues.Booleans, ScriptDocValues.BytesRefs, ScriptDocValues.Dates, ScriptDocValues.Doubles, ScriptDocValues.DoublesSupplier, ScriptDocValues.Geometry<T>, ScriptDocValues.GeometrySupplier<T>, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings, ScriptDocValues.StringsSupplier, ScriptDocValues.Supplier<T>
- 
Field SummaryFields inherited from class org.elasticsearch.index.fielddata.ScriptDocValuessupplierFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondoublearcDistance(double lat, double lon) doublearcDistanceWithDefault(double lat, double lon, double defaultValue) doublegeohashDistance(String geohash) doublegeohashDistanceWithDefault(String geohash, double defaultValue) get(int index) Returns the bounding box of this geometryReturns the centroid of this geometryintReturns the dimensional type of this geometryReturns the suggested label positiondoublegetLat()double[]getLats()doublegetLon()double[]getLons()doubleReturns the height of the bounding box diagonal in the spherical Mercator projection (meters)doubleReturns the width of the bounding box diagonal in the spherical Mercator projection (meters)getValue()doubleplaneDistance(double lat, double lon) doubleplaneDistanceWithDefault(double lat, double lon, double defaultValue) intsize()Methods inherited from class org.elasticsearch.index.fielddata.ScriptDocValuesadd, getSupplier, remove, replaceAll, set, sort, throwIfEmptyMethods inherited from class java.util.AbstractListadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListMethods inherited from class java.util.AbstractCollectionaddAll, contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.ListaddAll, contains, containsAll, isEmpty, removeAll, retainAll, spliterator, toArray, toArray
- 
Constructor Details- 
GeoPoints
 
- 
- 
Method Details- 
getValue
- 
getLatpublic double getLat()
- 
getLatspublic double[] getLats()
- 
getLonspublic double[] getLons()
- 
getLonpublic double getLon()
- 
get
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<GeoPoint>
- Specified by:
- sizein interface- List<GeoPoint>
- Specified by:
- sizein class- AbstractCollection<GeoPoint>
 
- 
arcDistancepublic double arcDistance(double lat, double lon) 
- 
arcDistanceWithDefaultpublic double arcDistanceWithDefault(double lat, double lon, double defaultValue) 
- 
planeDistancepublic double planeDistance(double lat, double lon) 
- 
planeDistanceWithDefaultpublic double planeDistanceWithDefault(double lat, double lon, double defaultValue) 
- 
geohashDistance
- 
geohashDistanceWithDefault
- 
getDimensionalTypepublic int getDimensionalType()Description copied from class:ScriptDocValues.GeometryReturns the dimensional type of this geometry- Specified by:
- getDimensionalTypein class- ScriptDocValues.Geometry<GeoPoint>
 
- 
getCentroidDescription copied from class:ScriptDocValues.GeometryReturns the centroid of this geometry- Specified by:
- getCentroidin class- ScriptDocValues.Geometry<GeoPoint>
 
- 
getMercatorWidthpublic double getMercatorWidth()Description copied from class:ScriptDocValues.GeometryReturns the width of the bounding box diagonal in the spherical Mercator projection (meters)- Specified by:
- getMercatorWidthin class- ScriptDocValues.Geometry<GeoPoint>
 
- 
getMercatorHeightpublic double getMercatorHeight()Description copied from class:ScriptDocValues.GeometryReturns the height of the bounding box diagonal in the spherical Mercator projection (meters)- Specified by:
- getMercatorHeightin class- ScriptDocValues.Geometry<GeoPoint>
 
- 
getBoundingBoxDescription copied from class:ScriptDocValues.GeometryReturns the bounding box of this geometry- Specified by:
- getBoundingBoxin class- ScriptDocValues.Geometry<GeoPoint>
 
- 
getLabelPositionDescription copied from class:ScriptDocValues.GeometryReturns the suggested label position- Specified by:
- getLabelPositionin class- ScriptDocValues.Geometry<GeoPoint>
 
 
-