Class IteratorPlan

    • Field Detail

      • exprList

        protected final ExprList exprList
        The list of expressions on which to evaluate the iterator.
    • Constructor Detail

      • IteratorPlan

        public IteratorPlan​(String iri,
                            ExprList e,
                            List<Var> vars)
        The constructor.
        Parameters:
        iri - - The SPARQL-Generate iterator iri.
        e - - The list of expressions on which to evaluate the iterator function.
        vars - - The list of variables that will be bound to each result of the iterator function evaluation.
    • Method Detail

      • getVars

        public List<Var> getVars()
      • exec

        public void exec​(List<Var> variables,
                         List<Binding> values,
                         Context context,
                         Consumer<List<Binding>> listBindingStream)
        Updates the values block. Method is blocking
        Parameters:
        variables - the current variables.
        values - the existing bindings.
        listBindingStream - where new bindings are emited.
        context - the execution context.