Interface IteratorFunction

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void build​(ExprList args)
      Called during query plan construction immediately after the construction of the extension instance.
      void exec​(Binding binding, ExprList args, FunctionEnv env, java.util.function.Consumer<java.util.List<java.util.List<NodeValue>>> nodeValuesStream)
      Test a list of values - argument will not be null but may have the wrong number of arguments.
    • 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,
                  java.util.function.Consumer<java.util.List<java.util.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