org.openanzo.glitter.query
Class QueryExecutorFactory

java.lang.Object
  extended by org.openanzo.glitter.query.QueryExecutorFactory

public class QueryExecutorFactory
extends java.lang.Object

A QueryExecutorFactory returns QueryExecutor's that can execute a given query with a given SolutionGenerator. This is a singleton class.

Author:
Lee

Method Summary
 QueryExecutor createQueryExecutor(EngineConfig config, QueryController qc, SolutionGenerator sg, QueryExecutionPlan plan)
          Selects an appropriate QueryExecutor based upon the engine configuration and the capabilities of the backend solution generator.
static QueryExecutorFactory getQueryExecutorFactory()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getQueryExecutorFactory

public static QueryExecutorFactory getQueryExecutorFactory()
Returns:
The singleton QueryExecutorFactory.

createQueryExecutor

public QueryExecutor createQueryExecutor(EngineConfig config,
                                         QueryController qc,
                                         SolutionGenerator sg,
                                         QueryExecutionPlan plan)
Selects an appropriate QueryExecutor based upon the engine configuration and the capabilities of the backend solution generator.

Parameters:
config - The engine configuration
qc - The parsed and prepared query
sg - The backend solution generator
plan - A query execution plan
Returns:
An initialized QueryExecutor.


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.