org.openanzo.common.rdb.container.query
Class RdbEngineConfig

java.lang.Object
  extended by org.openanzo.glitter.DefaultEngineConfig
      extended by org.openanzo.model.impl.query.CoreEngineConfig
          extended by org.openanzo.common.rdb.container.query.RdbEngineConfig
All Implemented Interfaces:
EngineConfig

public class RdbEngineConfig
extends CoreEngineConfig

RdbEngineConfig is the Glitter EngineConfig for queries against an RDB Container. It uses the QueryOptimizer query execution plan in order to determine extra vs regular triple patterns.

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
RdbEngineConfig()
          Create a new RdbEngineConfig, and initialize the factory and special predicates.
 
Method Summary
 java.lang.Class<QueryOptimizer> getQueryExecutionPlan()
           
 RdbSolutionGeneratorFactory getRdbSolutionGeneratorFactory()
          Get the RdbSolutionGeneratorFactory from this config
 SolutionGeneratorFactory getSolutionGeneratorFactory()
           
 
Methods inherited from class org.openanzo.model.impl.query.CoreEngineConfig
getDatasetClass, getFunctionalPredicates, getQueryValidators, getTreeRewriters, includeInferredTriples, registerFunctionalPredicate, setIncludeInferredTriples
 
Methods inherited from class org.openanzo.glitter.DefaultEngineConfig
allowNaryUnion, substituteFixedBindings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openanzo.glitter.EngineConfig
allowNaryUnion, substituteFixedBindings
 

Constructor Detail

RdbEngineConfig

public RdbEngineConfig()
Create a new RdbEngineConfig, and initialize the factory and special predicates.

Method Detail

getRdbSolutionGeneratorFactory

public RdbSolutionGeneratorFactory getRdbSolutionGeneratorFactory()
Get the RdbSolutionGeneratorFactory from this config

Returns:
the RdbSolutionGeneratorFactory from this config

getQueryExecutionPlan

public java.lang.Class<QueryOptimizer> getQueryExecutionPlan()
Specified by:
getQueryExecutionPlan in interface EngineConfig
Overrides:
getQueryExecutionPlan in class CoreEngineConfig
Returns:
The QueryExecutionPlan class to use for putting together a plan of access for executing the query.

getSolutionGeneratorFactory

public SolutionGeneratorFactory getSolutionGeneratorFactory()
Returns:
A SolutionGeneratorFactory that can produce SolutionGenerators for the Glitter engine.


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