Class SelectPlan
java.lang.Object
fr.mines_stetienne.ci.sparql_generate.engine.SelectPlan
Executes the generated SPARQL SELECT query.
- Author:
- Maxime Lefrançois
-
Constructor Summary
ConstructorsConstructorDescriptionSelectPlan(SPARQLExtQuery query, boolean isSelectType, List<org.apache.jena.sparql.core.Var> signature) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidexec(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> getVars()
-
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 querysignature- the signature of the query
-
-
Method Details
-
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 variablesvalues- the list of bindings.context- the execution context.
-