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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DistanceFunction

      public DistanceFunction()
  • Method Details

    • xFunc

      protected void xFunc() throws SQLException
      Specified by:
      xFunc in class org.sqlite.Function
      Throws:
      SQLException