Package org.gvsig.expressionevaluator
Interface Function
- All Known Implementing Classes:
AbstractFunction
public interface Function
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaliases()booleanReturns true if the function always returns the same value for the same parameters.org.apache.commons.lang3.Rangeargc()call(Interpreter interpreter, Object[] args) call(Interpreter interpreter, Codes args) String[]Return a full description of the funcion internationalized in HTML.group()booleanisHidden()booleanbooleanname()template()toValue(ExpressionBuilder builder, Codes parameters) boolean
-
Field Details
-
GROUP_NUMERIC
- See Also:
-
GROUP_STRING
- See Also:
-
GROUP_DATETIME
- See Also:
-
GROUP_BOOLEAN
- See Also:
-
GROUP_OGC
- See Also:
-
GROUP_PROGRAMMING
- See Also:
-
GROUP_CONVERSION
- See Also:
-
GROUP_AGGREGATE
- See Also:
-
GROUP_OTHER
- See Also:
-
-
Method Details
-
group
String group() -
name
String name() -
returnType
String returnType() -
argc
org.apache.commons.lang3.Range argc() -
description
String description() -
getFullDescription
String getFullDescription()Return a full description of the funcion internationalized in HTML. This full description contains, t name, description, args, template and return type.- Returns:
- full description in HTML as a String
-
template
String template() -
descriptionArgs
String[] descriptionArgs() -
call
- Throws:
Exception
-
call
- Throws:
Exception
-
addAlias
-
aliases
-
isOperator
boolean isOperator() -
isHidden
boolean isHidden() -
useArgumentsInsteadObjects
boolean useArgumentsInsteadObjects() -
isSQLCompatible
boolean isSQLCompatible() -
allowConstantFolding
boolean allowConstantFolding()Returns true if the function always returns the same value for the same parameters. If so, it is possible to optimize the generated code through the process of "constant folding". https://en.wikipedia.org/wiki/Constant_folding- Returns:
- true if this function allow constant folding optimization.
-
toString
-
toValue
-