org.h2gis.h2spatialext.function.spatial.properties
Class ST_Extent

java.lang.Object
  extended by org.h2gis.h2spatialapi.AbstractFunction
      extended by org.h2gis.h2spatialext.function.spatial.properties.ST_Extent
All Implemented Interfaces:
org.h2.api.Aggregate, Function

public class ST_Extent
extends AbstractFunction
implements org.h2.api.Aggregate

ST_Extent returns an Envelope that cover all aggregated geometries.

Author:
Nicolas Fortin

Field Summary
 
Fields inherited from interface org.h2gis.h2spatialapi.Function
PROP_NAME, PROP_REMARKS
 
Constructor Summary
ST_Extent()
           
 
Method Summary
 void add(Object o)
           
 int getInternalType(int[] inputTypes)
           
 com.vividsolutions.jts.geom.Geometry getResult()
           
 void init(Connection connection)
           
 
Methods inherited from class org.h2gis.h2spatialapi.AbstractFunction
addProperty, getProperty, removeProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ST_Extent

public ST_Extent()
Method Detail

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 com.vividsolutions.jts.geom.Geometry getResult()
                                               throws SQLException
Specified by:
getResult in interface org.h2.api.Aggregate
Throws:
SQLException


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.