java.lang.Object
org.apache.jena.sparql.function.FunctionBase
- All Implemented Interfaces:
Function
- Direct Known Subclasses:
AFN_AdjustToTimezone,cartesian,context,execTime,FN_AdjustDatetimeToTimezone,FN_AdjustDateToTimezone,FN_AdjustTimeToTimezone,FN_Apply,FN_Error,FN_FormatNumber,FN_Round,FN_Round_Half_Even,FN_StrConcat,FN_StrNormalizeUnicode,FN_StrReplace,FN_StrSubstring,FunctionBase0,FunctionBase1,FunctionBase2,FunctionBase3,FunctionBase4,FunctionBase5,log,rnd,ScriptFunction,sprintf,strjoin,substring
Implementation root for custom function evaluation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidabstract voidcheckBuild(String uri, ExprList args) evalArgs(Binding binding, ExprList args, FunctionEnv env) abstract NodeValueFunction call to a list of evaluated argument valuesexec(Binding binding, ExprList args, String uri, FunctionEnv env) Test a list of values - argument will not be null but may have the wrong number of arguments.
-
Constructor Details
-
FunctionBase
public FunctionBase()
-
-
Method Details
-
build
Description copied from interface:Function -
exec
Description copied from interface:FunctionTest a list of values - argument will not be null but may have the wrong number of arguments. FunctionBase provides a more convenient way to implement a function. Can throw ExprEvalsException if something goes wrong. -
evalArgs
-
exec
Function call to a list of evaluated argument values -
checkBuild
-