org.h2gis.h2spatialext
Class CreateSpatialExtension
java.lang.Object
org.h2gis.h2spatialext.CreateSpatialExtension
public class CreateSpatialExtension
- extends Object
Registers the SQL functions contained in h2spatial-ext.
- Author:
- Nicolas Fortin, Adam Gouge
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateSpatialExtension
public CreateSpatialExtension()
getBuiltInsFunctions
public static Function[] getBuiltInsFunctions()
throws SQLException
- Returns:
- instance of all built-ins functions
- Throws:
SQLException
initSpatialExtension
public static void initSpatialExtension(Connection connection)
throws SQLException
- Init H2 DataBase with extended spatial functions
- Parameters:
connection - Active connection
- Throws:
SQLException
addSpatialFunctions
public static void addSpatialFunctions(Connection connection)
throws SQLException
- Register built-in functions
- Parameters:
connection - Active connection
- Throws:
SQLException - Error while creating statement
Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.