java.lang.Object
org.apache.jena.sparql.function.FunctionBase
- All Implemented Interfaces:
Function
- Direct Known Subclasses:
AFN_AdjustToTimezone,cartesian,ConcatFct,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,ListFct,log,MapFct,PutFct,rnd,ScriptFunction,sprintf,strjoin,SubSeqFct,substring
Implementation root for custom function evaluation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled during query plan construction immediately after the construction of the extension instance.abstract voidcheckBuild(String uri, ExprList args) abstract NodeValueFunction call to a list of evaluated argument valuesexec(Binding binding, ExprList args, String uri, FunctionEnv env) Call a function.
-
Constructor Details
-
FunctionBase
public FunctionBase()
-
-
Method Details
-
build
Description copied from interface:FunctionCalled during query plan construction immediately after the construction of the extension instance. A function can throwExprExceptionif something is wrong (like wrong number of arguments). -
exec
Description copied from interface:FunctionCall a function. The argument list will not be null but may have the wrong number of arguments. FunctionBase provides a more convenient way to implement a function. Functions can throwExprEvalExceptionif something goes wrong. -
exec
Function call to a list of evaluated argument values -
checkBuild
-