Class OpenGISFunctions.BaseFunction

java.lang.Object
org.medfoster.sqljep.function.PostfixCommand
org.gvsig.tools.evaluator.sqljep.function.OpenGISFunctions.BaseFunction
All Implemented Interfaces:
org.medfoster.sqljep.function.PostfixCommandI
Direct Known Subclasses:
OpenGISFunctions.Function_geom1, OpenGISFunctions.Function_geom1_double, OpenGISFunctions.Function_geom1_geom2, OpenGISFunctions.Function_geom1_int, OpenGISFunctions.Function_string
Enclosing class:
OpenGISFunctions

public abstract static class OpenGISFunctions.BaseFunction extends org.medfoster.sqljep.function.PostfixCommand
  • Field Summary

    Fields inherited from class org.medfoster.sqljep.function.PostfixCommand

    INTERNAL_ERROR, NOT_IMPLIMENTED_EXCEPTION, PARAMS_NUMBER, WRONG_TYPE, ZERO
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    evaluate(org.medfoster.sqljep.ASTFunNode node, org.medfoster.sqljep.JepRuntime runtime)
     
    abstract Comparable
    evaluate(org.medfoster.sqljep.JepRuntime runtime)
     
     
    double
    pop_double(org.medfoster.sqljep.JepRuntime runtime)
     
    org.gvsig.fmap.geom.Geometry
    pop_geometry(org.medfoster.sqljep.JepRuntime runtime)
     
    int
    pop_int(org.medfoster.sqljep.JepRuntime runtime)
     
    pop_string(org.medfoster.sqljep.JepRuntime runtime)
     

    Methods inherited from class org.medfoster.sqljep.function.PostfixCommand

    getBigDecimal, getDouble, getInteger, getNumberOfParameters, parse, removeParams

    Methods inherited from class java.lang.Object

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

    • BaseFunction

      public BaseFunction()
  • Method Details

    • getName

      public String getName()
    • pop_geometry

      public org.gvsig.fmap.geom.Geometry pop_geometry(org.medfoster.sqljep.JepRuntime runtime) throws org.medfoster.sqljep.ParseException
      Throws:
      org.medfoster.sqljep.ParseException
    • pop_double

      public double pop_double(org.medfoster.sqljep.JepRuntime runtime) throws org.medfoster.sqljep.ParseException
      Throws:
      org.medfoster.sqljep.ParseException
    • pop_int

      public int pop_int(org.medfoster.sqljep.JepRuntime runtime) throws org.medfoster.sqljep.ParseException
      Throws:
      org.medfoster.sqljep.ParseException
    • pop_string

      public String pop_string(org.medfoster.sqljep.JepRuntime runtime) throws org.medfoster.sqljep.ParseException
      Throws:
      org.medfoster.sqljep.ParseException
    • evaluate

      public void evaluate(org.medfoster.sqljep.ASTFunNode node, org.medfoster.sqljep.JepRuntime runtime) throws org.medfoster.sqljep.ParseException
      Specified by:
      evaluate in interface org.medfoster.sqljep.function.PostfixCommandI
      Specified by:
      evaluate in class org.medfoster.sqljep.function.PostfixCommand
      Throws:
      org.medfoster.sqljep.ParseException
    • evaluate

      public abstract Comparable evaluate(org.medfoster.sqljep.JepRuntime runtime) throws Exception
      Throws:
      Exception