Class UserDefinedFunctionDefinition

java.lang.Object
org.apache.jena.sparql.function.user.UserDefinedFunctionDefinition
Direct Known Subclasses:
UserDefinedFunction

public class UserDefinedFunctionDefinition extends Object
Represents the definition of a user defined function
  • Field Details

    • warnOnUnusedVariable

      public static boolean warnOnUnusedVariable
      Whether to log warnings for unused variables
  • Constructor Details

    • UserDefinedFunctionDefinition

      public UserDefinedFunctionDefinition(String uri, Expr e, List<Var> argList)
      Creates a user defined function definition
      Parameters:
      uri - Function URL
      e - Expression
      argList - Arguments
  • Method Details

    • getBaseExpr

      public Expr getBaseExpr()
      Gets the base expression
      Returns:
      Expression
    • getArgList

      public List<Var> getArgList()
      Gets the argument list
      Returns:
      Arguments
    • getUri

      public String getUri()
      Gets the function URI
      Returns:
      URI
    • newFunctionInstance

      public Function newFunctionInstance()
      Gets an instance of an actual Function that can be used to evaluate this function
      Returns:
      Function instance