Class SpatialRelatesUtils
java.lang.Object
org.elasticsearch.xpack.esql.expression.function.scalar.spatial.SpatialRelatesUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.elasticsearch.geometry.GeometryThis function is used when we do lucene-pushdown of spatial functions.static org.elasticsearch.geometry.GeometrymakeGeometryFromLiteral(FoldContext ctx, Expression expr) This function is used when evaluating a spatial constant in the SpatialRelatesFunction
-
Constructor Details
-
SpatialRelatesUtils
public SpatialRelatesUtils()
-
-
Method Details
-
makeGeometryFromLiteral
public static org.elasticsearch.geometry.Geometry makeGeometryFromLiteral(FoldContext ctx, Expression expr) This function is used when evaluating a spatial constant in the SpatialRelatesFunction -
makeGeometryFromLiteral
This function is used when we do lucene-pushdown of spatial functions. The expression is expected to be folded already and a literal
-