Skip to content

Latest commit

 

History

History
 
 

h2gis-api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

H2GIS API

This H2GIS module defines the API for the whole project, it describes the different type of functions supported and some utilities classes.

Function API

I

Root interface for the SQL function definition.

I

Scalar function in H2 can be defined through CREATE ALIAS, but in an OSGi context the class java name is not sufficient.

The full declaration of java name in H2 through osgi is BundleSymbolicName:BundleVersion:BinaryJavaName.

Registering this interface as an OSGi service will add this function in H2GIS linked with a DataSource service.

C

Abstract implementation of the Function interface which is able to handle properties into a map.

C

Extended by Scalar function which return always the same value for the same arguments.

I

This function can import/export a file into/from a table. Connection may be on a remote H2/Postgres database.

The file can be linked to the database or copied into the database.

ProgressVisitor API

I

Progression information.

C

A progress visitor that do nothing.

File API

I

Implement this interface in order to create a org.h2.table.TableBase in your org.h2.api.TableEngine implementation.

How to use:

  • Implement this interface with your file driver
  • Implement a FileEngine
  • Add your FileEngine implementation into the DriverManager