org.openanzo.common.ldap.container
Class LdapEngineConfig

java.lang.Object
  extended by org.openanzo.glitter.DefaultEngineConfig
      extended by org.openanzo.common.ldap.container.LdapEngineConfig
All Implemented Interfaces:
EngineConfig

public class LdapEngineConfig
extends DefaultEngineConfig

Glitter engine configuration for querying against the provided Ldap context. the Ldap data will be exposed according the mapping rules provided.

Author:
Joe Betz

Constructor Summary
LdapEngineConfig(javax.naming.directory.DirContext ldapContext, LdapMapping mapping)
           
 
Method Summary
 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()
           
 boolean includeInferredTriples()
           
 
Methods inherited from class org.openanzo.glitter.DefaultEngineConfig
allowNaryUnion, getTreeRewriters, substituteFixedBindings
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapEngineConfig

public LdapEngineConfig(javax.naming.directory.DirContext ldapContext,
                        LdapMapping mapping)
Method Detail

getDatasetClass

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

getFunctionalPredicates

public 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.

getQueryExecutionPlan

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

getQueryValidators

public 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.

getSolutionGeneratorFactory

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

includeInferredTriples

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


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