Package org.apache.calcite.sql.fun
Class SqlSpatialTypeFunctions
java.lang.Object
org.apache.calcite.sql.fun.SqlSpatialTypeFunctions
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Returns the geometries of a geometry.static class
Returns the points or rectangles in a grid that covers a given geometry. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScannableTable
ST_Explode
(org.locationtech.jts.geom.Geometry geom) Explodes thegeom
into multiple geometries.static ScannableTable
ST_MakeGrid
(org.locationtech.jts.geom.Geometry geom, BigDecimal deltaX, BigDecimal deltaY) Calculates a regular grid of polygons based ongeom
.static ScannableTable
ST_MakeGridPoints
(org.locationtech.jts.geom.Geometry geom, BigDecimal deltaX, BigDecimal deltaY) Calculates a regular grid of points based ongeom
.
-
Method Details
-
ST_Explode
Explodes thegeom
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 ongeom
.- 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 ongeom
.- See Also:
-