java.lang.Object
fr.mines_stetienne.ci.sparql_generate.engine.SelectPlan

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

    Constructors
    Constructor
    Description
    SelectPlan(SPARQLExtQuery query, boolean isSelectType, List<org.apache.jena.sparql.core.Var> signature)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    exec(List<org.apache.jena.sparql.core.Var> variables, List<org.apache.jena.sparql.engine.binding.Binding> values, org.apache.jena.sparql.util.Context context, Consumer<org.apache.jena.query.ResultSet> output)
    Updates a values block with the execution of a SPARQL SELECT query.
    List<org.apache.jena.sparql.core.Var>
     

    Methods inherited from class java.lang.Object

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

    • SelectPlan

      public SelectPlan(SPARQLExtQuery query, boolean isSelectType, List<org.apache.jena.sparql.core.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 Details

    • getVars

      public List<org.apache.jena.sparql.core.Var> getVars()
    • exec

      public final void exec(List<org.apache.jena.sparql.core.Var> variables, List<org.apache.jena.sparql.engine.binding.Binding> values, org.apache.jena.sparql.util.Context context, Consumer<org.apache.jena.query.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.