Class ST_Accum
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.functions.spatial.aggregate.ST_Accum
-
- All Implemented Interfaces:
org.h2.api.Aggregate,org.h2gis.api.Function
- Direct Known Subclasses:
ST_Collect
public class ST_Accum extends org.h2gis.api.AbstractFunction implements org.h2.api.AggregateConstruct an array of Geometries.- Author:
- Nicolas Fortin, Erwan Bocher, CNRS
-
-
Constructor Summary
Constructors Constructor Description ST_Accum()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Object o)intgetInternalType(int[] inputTypes)org.locationtech.jts.geom.GeometryCollectiongetResult()voidinit(Connection connection)
-
-
-
Method Detail
-
init
public void init(Connection connection) throws SQLException
- Specified by:
initin interfaceorg.h2.api.Aggregate- Throws:
SQLException
-
getInternalType
public int getInternalType(int[] inputTypes) throws SQLException- Specified by:
getInternalTypein interfaceorg.h2.api.Aggregate- Throws:
SQLException
-
add
public void add(Object o) throws SQLException
- Specified by:
addin interfaceorg.h2.api.Aggregate- Throws:
SQLException
-
getResult
public org.locationtech.jts.geom.GeometryCollection getResult() throws SQLException- Specified by:
getResultin interfaceorg.h2.api.Aggregate- Throws:
SQLException
-
-