Class GeometryFunction
- java.lang.Object
-
- mil.nga.geopackage.extension.rtree.GeometryFunction
-
- All Implemented Interfaces:
org.sqlite.database.sqlite.SQLiteDatabase.CustomFunction
public abstract class GeometryFunction extends Object implements org.sqlite.database.sqlite.SQLiteDatabase.CustomFunction
Geometry Function for reading Geometry Data from a geometry column blob- Since:
- 6.0.0
-
-
Constructor Summary
Constructors Constructor Description GeometryFunction(String name)Constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcallback(String[] args)abstract Objectexecute(GeoPackageGeometryData geometryData)Execute the functionStringgetName()Get the function name
-
-
-
Constructor Detail
-
GeometryFunction
public GeometryFunction(String name)
Constructor- Parameters:
name- function name
-
-
Method Detail
-
getName
public String getName()
Get the function name- Returns:
- name
-
execute
public abstract Object execute(GeoPackageGeometryData geometryData)
Execute the function- Parameters:
geometryData- geometry data- Returns:
- function result
-
callback
public void callback(String[] args)
- Specified by:
callbackin interfaceorg.sqlite.database.sqlite.SQLiteDatabase.CustomFunction
-
-