|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.glitter.query.SerialQueryExecutor
public class SerialQueryExecutor
The SerialQueryExecutor is the standard QueryExecutor. It uses the supplied
execution plan to generate bindings serially; it repeatedly asks a solution generator to generate
bindings for as large a part of the query as it can, and the executor composes these results into the
final SolutionSet.
| Constructor Summary | |
|---|---|
SerialQueryExecutor()
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
composedSolutions()
Clients of an executor need to know whether the executor had a handle in putting together results, to know if reordering might be necessary. |
SolutionSet |
executeQuery()
Executes the query, returning a result set. |
void |
initialize(EngineConfig config,
QueryController controller,
SolutionGenerator sg,
QueryExecutionPlan plan)
Initialize the executor with information on the query. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerialQueryExecutor()
| Method Detail |
|---|
public void initialize(EngineConfig config,
QueryController controller,
SolutionGenerator sg,
QueryExecutionPlan plan)
QueryExecutor
initialize in interface QueryExecutorconfig - The engine configuration in effect.controller - The query controller with information on the parsed and prepared query.sg - The backend solution generator.plan - The query execution plan.
public SolutionSet executeQuery()
throws GlitterException
QueryExecutor
executeQuery in interface QueryExecutorSolutionSet with the bindings from executing the query against an RDFDataset.
GlitterExceptionpublic boolean composedSolutions()
QueryExecutor
composedSolutions in interface QueryExecutor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||