Interface IteratorFunction

    • Method Detail

      • build

        void build​(ExprList args)
        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).
        Parameters:
        args - The parsed arguments
      • exec

        void exec​(Binding binding,
                  ExprList args,
                  FunctionEnv env,
                  Consumer<List<List<NodeValue>>> nodeValuesStream)
        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.
        Parameters:
        binding - The current solution
        args - A list of unevaluated expressions
        env - The execution context
        nodeValuesStream - where to emit new values