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 -
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate(org.medfoster.sqljep.ASTFunNode node, org.medfoster.sqljep.JepRuntime runtime) abstract Comparableevaluate(org.medfoster.sqljep.JepRuntime runtime) getName()doublepop_double(org.medfoster.sqljep.JepRuntime runtime) org.gvsig.fmap.geom.Geometrypop_geometry(org.medfoster.sqljep.JepRuntime runtime) intpop_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
-
Constructor Details
-
BaseFunction
public BaseFunction()
-
-
Method Details
-
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:
evaluatein interfaceorg.medfoster.sqljep.function.PostfixCommandI- Specified by:
evaluatein classorg.medfoster.sqljep.function.PostfixCommand- Throws:
org.medfoster.sqljep.ParseException
-
evaluate
- Throws:
Exception
-