org.openanzo.glitter
Interface EngineConfig

All Known Implementing Classes:
BasicGraphEngineConfig, ContainerEngineConfig, CoreEngineConfig, DefaultEngineConfig, LdapEngineConfig, RdbEngineConfig, ServerEngineConfig

public interface EngineConfig

Defines configuration options available to direct the behavior of a Glitter Engine

Author:
lee

Method Summary
 boolean allowNaryUnion()
           
 java.lang.Class<? extends RDFDataset<?>> getDatasetClass()
           
 java.util.Map<java.net.URI,java.lang.Class<? extends FunctionalPredicate>> getFunctionalPredicates()
           
 java.lang.Class<? extends QueryExecutionPlan> getQueryExecutionPlan()
           
 java.lang.Iterable<QueryValidator> getQueryValidators()
           
 SolutionGeneratorFactory getSolutionGeneratorFactory()
           
 java.lang.Iterable<TreeRewriter> getTreeRewriters()
           
 boolean includeInferredTriples()
           
 boolean substituteFixedBindings()
          In many cases, an intermediate result set contains solutions that all bind a given variable to the same value.
 

Method Detail

getSolutionGeneratorFactory

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

getDatasetClass

java.lang.Class<? extends RDFDataset<?>> getDatasetClass()
Returns:
The RDFDataset subclass to use for identifying and retrieving data graphs to query against.

getQueryExecutionPlan

java.lang.Class<? extends QueryExecutionPlan> getQueryExecutionPlan()
Returns:
The QueryExecutionPlan class to use for putting together a plan of access for executing the query.

getTreeRewriters

java.lang.Iterable<TreeRewriter> getTreeRewriters()
Returns:
An enumeration of TreeRewriters that will be applied sequentially to transform the SPARQL query tree before query execution.

getQueryValidators

java.lang.Iterable<QueryValidator> getQueryValidators()
Returns:
An enumeration of QueryValidators that will be invoked sequentially to determine if the engine will execute the given query.

allowNaryUnion

boolean allowNaryUnion()
Returns:
Whether the normal form rewriter should combine nested binary UNIONs into a single N-ary UNION operator.

substituteFixedBindings

boolean substituteFixedBindings()
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.

Returns:
Whether the engine should aggressively substitute for variables with fixed values.

getFunctionalPredicates

java.util.Map<java.net.URI,java.lang.Class<? extends FunctionalPredicate>> getFunctionalPredicates()
Returns:
A map associating predicate URIs with FunctionalPredicates that implement special semantics for that URI.

includeInferredTriples

boolean includeInferredTriples()
Returns:
whether the underlying solution generator should include inferred triples when providing results


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