java.lang.Object
org.elasticsearch.xpack.esql.expression.function.scalar.spatial.SpatialRelatesUtils

public class SpatialRelatesUtils extends Object
  • 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

      public static org.elasticsearch.geometry.Geometry makeGeometryFromLiteral(Expression expr)
      This function is used when we do lucene-pushdown of spatial functions. The expression is expected to be folded already and a literal