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.Geometry<T>, ScriptDocValues.GeoPoints, ScriptDocValues.Longs, ScriptDocValues.Strings
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract GeoBoundingBox
Returns the bounding box of this geometryabstract GeoPoint
Returns the centroid of this geometryabstract int
Returns the dimensional type of this geometryabstract double
Returns the height of the bounding box diagonal in the spherical Mercator projection (meters)abstract double
Returns the width of the bounding box diagonal in the spherical Mercator projection (meters)Methods inherited from class org.elasticsearch.index.fielddata.ScriptDocValues
add, remove, replaceAll, set, setNextDocId, sort, throwIfEmpty
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, removeAll, retainAll, size, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
Geometry
public Geometry()
-
-
Method Details
-
getDimensionalType
public abstract int getDimensionalType()Returns the dimensional type of this geometry -
getBoundingBox
Returns the bounding box of this geometry -
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)
-