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
Nested ClassesModifier and TypeClassDescriptionstatic classReturns the geometries of a geometry.static classReturns the points or rectangles in a grid that covers a given geometry. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScannableTableST_Explode(org.locationtech.jts.geom.Geometry geom) Explodes thegeominto multiple geometries.static ScannableTableST_MakeGrid(org.locationtech.jts.geom.Geometry geom, BigDecimal deltaX, BigDecimal deltaY) Calculates a regular grid of polygons based ongeom.static ScannableTableST_MakeGridPoints(org.locationtech.jts.geom.Geometry geom, BigDecimal deltaX, BigDecimal deltaY) Calculates a regular grid of points based ongeom.
-
Method Details
-
ST_Explode
Explodes thegeominto 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:
-