Class 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 Detail

      • ST_Extent

        public ST_Extent()
    • Method Detail

      • getInternalType

        public int getInternalType​(int[] inputTypes)
                            throws SQLException
        Specified by:
        getInternalType 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