java.lang.Object
org.apache.jena.sparql.function.FunctionBase
- All Implemented Interfaces:
Function
- Direct Known Subclasses:
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 void
Called during query plan construction immediately after the construction of the extension instance.abstract void
checkBuild
(String uri, ExprList args) evalArgs
(Binding binding, ExprList args, FunctionEnv env) abstract NodeValue
Function 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
Called during query plan construction immediately after the construction of the extension instance. Can throw ExprBuildException if something is wrong (like wrong number of arguments). -
exec
Description copied from interface:Function
Test 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
-