org.openanzo.server.repository.query
Class ServerEngineConfig

java.lang.Object
  extended by org.openanzo.glitter.DefaultEngineConfig
      extended by org.openanzo.model.impl.query.CoreEngineConfig
          extended by org.openanzo.server.repository.query.ServerEngineConfig
All Implemented Interfaces:
EngineConfig

public class ServerEngineConfig
extends CoreEngineConfig

ServerEngineConfig is a Glitter Engine config that uses a connection to the relation db in order to do queries.

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
ServerEngineConfig()
          Create a new ServerEngineConfig
 
Method Summary
 ServerSolutionGeneratorFactory getSolutionGeneratorFactory()
           
 boolean substituteFixedBindings()
          In many cases, an intermediate result set contains solutions that all bind a given variable to the same value.
 
Methods inherited from class org.openanzo.model.impl.query.CoreEngineConfig
getDatasetClass, getFunctionalPredicates, getQueryExecutionPlan, getQueryValidators, getTreeRewriters, includeInferredTriples, registerFunctionalPredicate, setIncludeInferredTriples
 
Methods inherited from class org.openanzo.glitter.DefaultEngineConfig
allowNaryUnion
 
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
 

Constructor Detail

ServerEngineConfig

public ServerEngineConfig()
Create a new ServerEngineConfig

Method Detail

getSolutionGeneratorFactory

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

substituteFixedBindings

public boolean substituteFixedBindings()
Description copied from interface: EngineConfig
In many cases, an intermediate result set contains solutions that all bind a given variable to the same value. In most cases, this value can be safely substituted in for the variable anywhere else in the query that the variable appears.

Specified by:
substituteFixedBindings in interface EngineConfig
Overrides:
substituteFixedBindings in class DefaultEngineConfig
Returns:
Whether the engine should aggressively substitute for variables with fixed values.


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