Class SqlSpatialTypeFunctions

java.lang.Object
org.apache.calcite.sql.fun.SqlSpatialTypeFunctions

public class SqlSpatialTypeFunctions extends Object
Utilities for spatial type functions.

Includes some table functions, and may in future include other functions that have dependencies beyond the org.apache.calcite.runtime package.

  • Method Details

    • ST_Explode

      public static ScannableTable ST_Explode(org.locationtech.jts.geom.Geometry geom)
      Explodes the geom into multiple geometries.
      See Also:
    • ST_MakeGrid

      public static ScannableTable ST_MakeGrid(org.locationtech.jts.geom.Geometry geom, BigDecimal deltaX, BigDecimal deltaY)
      Calculates a regular grid of polygons based on geom.
      See Also:
    • ST_MakeGridPoints

      public static ScannableTable ST_MakeGridPoints(org.locationtech.jts.geom.Geometry geom, BigDecimal deltaX, BigDecimal deltaY)
      Calculates a regular grid of points based on geom.
      See Also: