Module org.elasticsearch.server
Class ScriptDocValues.Geometry<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
org.elasticsearch.index.fielddata.ScriptDocValues<T>
org.elasticsearch.index.fielddata.ScriptDocValues.Geometry<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>
- Direct Known Subclasses:
ScriptDocValues.GeoPoints
- Enclosing class:
- ScriptDocValues<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.index.fielddata.ScriptDocValues
ScriptDocValues.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 Summary
Fields inherited from class org.elasticsearch.index.fielddata.ScriptDocValues
supplierFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract GeoBoundingBoxReturns the bounding box of this geometryabstract GeoPointReturns the centroid of this geometryabstract intReturns the dimensional type of this geometryabstract GeoPointReturns the suggested label positionabstract doubleReturns the height of the bounding box diagonal in the spherical Mercator projection (meters)abstract doubleReturns the width of the bounding box diagonal in the spherical Mercator projection (meters)Methods inherited from class org.elasticsearch.index.fielddata.ScriptDocValues
add, getSupplier, remove, replaceAll, set, sort, throwIfEmptyMethods inherited from class java.util.AbstractList
add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
Geometry
-
-
Method Details
-
getDimensionalType
public abstract int getDimensionalType()Returns the dimensional type of this geometry -
getBoundingBox
Returns the bounding box of this geometry -
getLabelPosition
Returns the suggested label position -
getCentroid
Returns the centroid of this geometry -
getMercatorWidth
public abstract double getMercatorWidth()Returns the width of the bounding box diagonal in the spherical Mercator projection (meters) -
getMercatorHeight
public abstract double getMercatorHeight()Returns the height of the bounding box diagonal in the spherical Mercator projection (meters)
-