Package org.elasticsearch.xpack.esql.expression.function.scalar.spatial
package org.elasticsearch.xpack.esql.expression.function.scalar.spatial
-
ClassDescriptionSpatial functions that take two arguments that must both be spatial types can inherit from this class.For most spatial functions we only need to know if the CRS is geo or cartesian, not whether the type is point or shape.A class that checks if a hexagon intersects with a bounding box.This utilities class provides access to protected methods in Lucene using alternative APIs.This is the primary class for supporting the function ST_CONTAINS.We override the normal behaviour for CONTAINS because we need to test each component separately.This is the primary class for supporting the function ST_DISJOINT.Spatial functions that can take doc values as an argument can inherit from this class.SpatialEnvelopeResults<T extends Block.Builder>These functions provide support for extracting multi-value spatial envelope results into various result builders for ST_ENVELOPE, ST_XMAX, ST_XMIN, ST_YMAX and ST_YMIN.SpatialEnvelopeResults.Factory<T extends Block.Builder>The factory is used in the toEvaluator method so that new instances can be created for each thread.A functional interface for consuming results that need access to the spatial coordinate type.Spatial functions that take one spatial argument, one parameter and one optional bounds can inherit from this class.Public for use in integration testsThis is the primary class for supporting the function ST_INTERSECTS.A base class for spatial functions that operate on a single geometry input and produce a geometry output, and can receive the incoming geometries from doc-values.This is the primary class for supporting the function ST_WITHIN.Computes the distance between two points.This class is a CRS specific interface for generalizing distance calculations for the various possible ways that the geometries can be provided, from source, from evals, from literals and from doc values.Determines the minimum bounding rectangle of a geometry.Calculates the geohash of geo_point geometries.When checking grid cells with bounds, we need to check if the cell is valid (intersects with the bounds).Calculates the geohex of geo_point geometries.When checking grid cells with bounds, we need to check if the cell is valid (intersects with the bounds).Calculates the geotile of geo_point geometries.When checking tiles with bounds, we need to check if the tile is valid (intersects with the bounds).Extracts the x-coordinate from a point geometry.Determines the maximum value of the x-coordinate from a geometry.Determines the minimum value of the x-coordinate from a geometry.Extracts the y-coordinate from a point geometry.Determines the maximum value of the y-coordinate from a geometry.Determines the minimum value of the y-coordinate from a geometry.