Class ST_Extent

java.lang.Object
org.h2gis.api.AbstractFunction
org.h2gis.functions.spatial.properties.ST_Extent
All Implemented Interfaces:
org.h2.api.Aggregate, org.h2gis.api.Function

public class ST_Extent extends org.h2gis.api.AbstractFunction implements org.h2.api.Aggregate
ST_Extent returns an Envelope that cover all aggregated geometries.
Author:
Nicolas Fortin
  • Constructor Details

    • ST_Extent

      public ST_Extent()
  • Method Details

    • init

      public void init(Connection connection) throws SQLException
      Specified by:
      init in interface org.h2.api.Aggregate
      Throws:
      SQLException
    • getInternalType

      public int getInternalType(int[] inputTypes) throws SQLException
      Specified by:
      getInternalType in interface org.h2.api.Aggregate
      Throws:
      SQLException
    • add

      public void add(Object o) throws SQLException
      Specified by:
      add in interface org.h2.api.Aggregate
      Throws:
      SQLException
    • getResult

      public org.locationtech.jts.geom.Geometry getResult() throws SQLException
      Specified by:
      getResult in interface org.h2.api.Aggregate
      Throws:
      SQLException