Package com.ryandw11.structure.io.sql
Class DistanceFunction
java.lang.Object
org.sqlite.Function
com.ryandw11.structure.io.sql.DistanceFunction
public class DistanceFunction
extends org.sqlite.Function
A custom distance function for the SQLite engine.
Usage: DIST(x1, y1, z1, x2, y2, z2); where the parameters are doubles.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.sqlite.Function
org.sqlite.Function.Aggregate, org.sqlite.Function.Window
-
Field Summary
Fields inherited from class org.sqlite.Function
FLAG_DETERMINISTIC
-
Constructor Summary
-
Method Summary
Methods inherited from class org.sqlite.Function
args, create, create, create, destroy, destroy, error, result, result, result, result, result, result, value_blob, value_double, value_int, value_long, value_text, value_type
-
Constructor Details
-
DistanceFunction
public DistanceFunction()
-
-
Method Details
-
xFunc
- Specified by:
xFunc
in classorg.sqlite.Function
- Throws:
SQLException
-