Class StGeometryBoxesIntersect

All Implemented Interfaces:
Expression

public class StGeometryBoxesIntersect extends Predicate
A predicate that tests whether the bounding box of a geometry column intersects a given query bounding box.

This expression is not directly evaluatable. It is transformed to an internal ST_GEOMETRY_BOXES_INTERSECT_ON_STATS predicate during data-skipping filter construction, which evaluates the intersection of the column's min/max bounding box against the query box.

Since:
4.0.0
  • Field Details

  • Constructor Details

    • StGeometryBoxesIntersect

      public StGeometryBoxesIntersect(Column column, Literal queryMin, Literal queryMax)
      Parameters:
      column - the geometry column to test
      queryMin - lower-left corner of the query bounding box as a GeometryType WKT POINT literal
      queryMax - upper-right corner of the query bounding box as a GeometryType WKT POINT literal
  • Method Details

    • getColumn

      public Column getColumn()
    • getQueryMin

      public Literal getQueryMin()
    • getQueryMax

      public Literal getQueryMax()