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 Details

    • GeometryFunction

      public GeometryFunction(String name)
      Constructor
      Parameters:
      name - function name
  • Method Details

    • 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:
      callback in interface org.sqlite.database.sqlite.SQLiteDatabase.CustomFunction