Class QueryExecutor
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.engine.QueryExecutor
-
public class QueryExecutor extends Object
- Author:
- Maxime Lefrançois
-
-
Constructor Summary
Constructors Constructor Description QueryExecutor()
-
Method Summary
-
-
-
Method Detail
-
getPlanFromName
public RootPlan getPlanFromName(String queryName, Context context)
- Parameters:
queryName
-base
-context
-- Returns:
- the plan, or null.
-
getPlanFromString
public RootPlan getPlanFromString(String queryString, String base)
- Parameters:
queryString
-base
-- Returns:
- the plan, or null.
-
getPlan
public RootPlan getPlan(SPARQLExtQuery query)
- Parameters:
query
-context
-- Returns:
- the plan, or null.
-
execGenerateFromQuery
public void execGenerateFromQuery(SPARQLExtQuery query, Binding binding, Context context)
- Parameters:
queryName
-callParameters
- never nullcontext
-
-
execGenerateFromName
public void execGenerateFromName(String queryName, List<List<Node>> callParameters, Context context)
- Parameters:
queryName
-callParameters
- never nullcontext
-
-
execGeneratePlan
public void execGeneratePlan(RootPlan plan, List<Binding> values, Context context)
-
execSelectFromName
public void execSelectFromName(String queryName, List<List<Node>> callParameters, Context context)
- Parameters:
queryName
- the name of the query (needs to be fetched)callParameters
-context
-
-
execSelectFromString
public void execSelectFromString(String queryString, List<List<Node>> callParameters, Context context)
- Parameters:
queryString
- the query as a stringcallParameters
-context
-outputSelect
-
-
execSelectFromQuery
public void execSelectFromQuery(SPARQLExtQuery query, List<List<Node>> callParameters, Context context)
-
execTemplateFromName
public void execTemplateFromName(String queryName, List<List<Node>> callParameters, Context context)
- Parameters:
queryName
- the query uricallParameters
-context
-outputTemplate
-
-
execTemplateFromString
public void execTemplateFromString(String queryString, Binding binding, Context context)
- Parameters:
queryString
- the query as a stringbinding
-context
-outputTemplate
-
-
execTemplateFromQuery
public void execTemplateFromQuery(SPARQLExtQuery query, List<List<Node>> callParameters, Context context)
-
-