Class MBFunctionFactory

    • Constructor Detail

      • MBFunctionFactory

        public MBFunctionFactory()
    • Method Detail

      • function

        public Function function​(String name,
                                 List<Expression> args,
                                 Literal fallback)
        Description copied from interface: FunctionFactory
        Returns a function with the specified name.
        Specified by:
        function in interface FunctionFactory
        Parameters:
        name - The name of the function
        args - Variable list of expression arguments for the function.
        fallback - A fallback literal to use in cases where the function does not exist or can not be created. This argument may be null.
      • function

        public Function function​(Name name,
                                 List<Expression> args,
                                 Literal fallback)
        Description copied from interface: FunctionFactory
        Returns a function with the specified name.
        Specified by:
        function in interface FunctionFactory
        Parameters:
        name - The name of the function
        args - Variable list of expression arguments for the function.
        fallback - A fallback literal to use in cases where the function does not exist or can not be created. This argument may be null.