Class SelectPlan
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.engine.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()
-
-
-
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 querysignature
- 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 variablesvalues
- the list of bindings.context
- the execution context.
-
-