Class UserDefinedFunctionDefinition

  • Direct Known Subclasses:
    UserDefinedFunction

    public class UserDefinedFunctionDefinition
    extends java.lang.Object
    Represents the definition of a user defined function
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean warnOnUnusedVariable
      Whether to log warnings for unused variables
    • Constructor Summary

      Constructors 
      Constructor Description
      UserDefinedFunctionDefinition​(java.lang.String uri, Expr e, java.util.List<Var> argList)
      Creates a user defined function definition
    • Field Detail

      • warnOnUnusedVariable

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

      • UserDefinedFunctionDefinition

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

      • getBaseExpr

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

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

        public java.lang.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