java.lang.Object
org.elasticsearch.script.field.AbstractScriptFieldFactory<GeoPoint>
org.elasticsearch.script.field.PointDocValuesField<GeoPoint>
org.elasticsearch.script.field.GeoPointDocValuesField
- All Implemented Interfaces:
Iterable<GeoPoint>,ScriptDocValues.GeometrySupplier<GeoPoint,,GeoPoint> ScriptDocValues.Supplier<GeoPoint>,DocValuesScriptFieldFactory,Field<GeoPoint>,ScriptFieldFactory
-
Field Summary
Fields inherited from class org.elasticsearch.script.field.PointDocValuesField
boundingBox, centroid, count, input, name, values -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doubleprotected doubleprotected doubleplaneDistance(double x1, double y1, GeoPoint point) protected GeoPointpointOf(double x, double y) protected voidresetCentroidAndBounds(GeoPoint point, GeoPoint topLeft, GeoPoint bottomRight) protected voidresetPointAt(int i, GeoPoint point) Returns aScriptDocValuesof the appropriate type for this field.Methods inherited from class org.elasticsearch.script.field.PointDocValuesField
getInternal, getInternalBoundingBox, getInternalCentroid, getInternalLabelPosition, getName, isEmpty, iterator, setNextDocId, sizeMethods inherited from class org.elasticsearch.script.field.AbstractScriptFieldFactory
toScriptFieldMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.elasticsearch.script.field.ScriptFieldFactory
toScriptField
-
Constructor Details
-
GeoPointDocValuesField
-
-
Method Details
-
resetPointAt
- Specified by:
resetPointAtin classPointDocValuesField<GeoPoint>
-
resetCentroidAndBounds
- Specified by:
resetCentroidAndBoundsin classPointDocValuesField<GeoPoint>
-
getXFrom
- Specified by:
getXFromin classPointDocValuesField<GeoPoint>
-
getYFrom
- Specified by:
getYFromin classPointDocValuesField<GeoPoint>
-
pointOf
- Specified by:
pointOfin classPointDocValuesField<GeoPoint>
-
planeDistance
- Specified by:
planeDistancein classPointDocValuesField<GeoPoint>
-
get
- Overrides:
getin classPointDocValuesField<GeoPoint>
-
get
- Overrides:
getin classPointDocValuesField<GeoPoint>
-
toScriptDocValues
Description copied from interface:DocValuesScriptFieldFactoryReturns aScriptDocValuesof the appropriate type for this field. This is used to support backwards compatibility for accessing field values through thedocvariable.
-