Class SelectPlan


  • public class SelectPlan
    extends java.lang.Object
    Executes the generated SPARQL SELECT query.
    Author:
    Maxime Lefrançois
    • Constructor Summary

      Constructors 
      Constructor Description
      SelectPlan​(SPARQLExtQuery query, boolean isSelectType, java.util.List<Var> signature)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void exec​(java.util.List<Var> variables, java.util.List<Binding> values, Context context, java.util.function.Consumer<ResultSet> output)
      Updates a values block with the execution of a SPARQL SELECT query.
      java.util.List<Var> getVars()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SelectPlan

        public SelectPlan​(SPARQLExtQuery query,
                          boolean isSelectType,
                          java.util.List<Var> signature)
        Constructor.
        Parameters:
        query - the SPARQL SELECT part of the query.
        isSelectType - if the query itself is a SELECT query
        signature - the signature of the query
    • Method Detail

      • getVars

        public java.util.List<Var> getVars()
      • exec

        public final void exec​(java.util.List<Var> variables,
                               java.util.List<Binding> values,
                               Context context,
                               java.util.function.Consumer<ResultSet> output)
        Updates a values block with the execution of a SPARQL SELECT query.
        Parameters:
        variables - the variables
        values - the list of bindings.
        context - the execution context.