Module org.apache.jena.arq
Class UserDefinedFunctionDefinition
java.lang.Object
org.apache.jena.sparql.function.user.UserDefinedFunctionDefinition
- Direct Known Subclasses:
UserDefinedFunction
Represents the definition of a user defined function
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
Whether to log warnings for unused variables -
Constructor Summary
ConstructorDescriptionUserDefinedFunctionDefinition
(String uri, Expr e, List<Var> argList) Creates a user defined function definition -
Method Summary
-
Field Details
-
warnOnUnusedVariable
public static boolean warnOnUnusedVariableWhether to log warnings for unused variables
-
-
Constructor Details
-
UserDefinedFunctionDefinition
Creates a user defined function definition- Parameters:
uri
- Function URLe
- ExpressionargList
- Arguments
-
-
Method Details
-
getBaseExpr
Gets the base expression- Returns:
- Expression
-
getArgList
Gets the argument list- Returns:
- Arguments
-
getUri
Gets the function URI- Returns:
- URI
-
newFunctionInstance
Gets an instance of an actualFunction
that can be used to evaluate this function- Returns:
- Function instance
-