Class FunctionSupport.Func0
- java.lang.Object
-
- com.healthmarketscience.jackcess.impl.expr.FunctionSupport.BaseFunction
-
- com.healthmarketscience.jackcess.impl.expr.FunctionSupport.Func0
-
- All Implemented Interfaces:
Function
- Enclosing class:
- FunctionSupport
public abstract static class FunctionSupport.Func0 extends FunctionSupport.BaseFunction
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Valueeval(EvalContext ctx, Value... params)Evaluates this function within the given context with the given parameters.booleanisPure()-
Methods inherited from class com.healthmarketscience.jackcess.impl.expr.FunctionSupport.BaseFunction
getName, toString
-
-
-
-
Method Detail
-
isPure
public boolean isPure()
- Specified by:
isPurein interfaceFunction- Overrides:
isPurein classFunctionSupport.BaseFunction- Returns:
trueif this function is a "pure" function,falseotherwise. A pure function will always return the same result for a given set of parameters and has no side effects.
-
eval
public final Value eval(EvalContext ctx, Value... params)
Description copied from interface:FunctionEvaluates this function within the given context with the given parameters.- Returns:
- the result of the function evaluation
-
-