de.fuberlin.wiwiss.d2rq.fastpath
Class FastpathEngine

java.lang.Object
  extended by de.fuberlin.wiwiss.d2rq.fastpath.FastpathEngine

public class FastpathEngine
extends Object

TODO instanciate just one PatternQueryCombiner? it could do some caching or leave the caching for graph? e.g. triple -> list of bridges TODO keep just one instance of PatternQueryCombiner and update Property Bridges only when updated with previous stage (see varInfo.boundDomainIndexToShared)

Version:
$Id: FastpathEngine.java,v 1.4 2006/10/16 12:46:00 cyganiak Exp $
Author:
jg, Richard Cyganiak (richard@cyganiak.de)

Constructor Summary
FastpathEngine(com.hp.hpl.jena.graph.query.Pipe input, com.hp.hpl.jena.graph.query.Pipe output, Collection rdfRelations, com.hp.hpl.jena.graph.query.Mapping map, com.hp.hpl.jena.graph.query.ExpressionSet constraints, com.hp.hpl.jena.graph.Triple[] triples)
           
 
Method Summary
 void cancel()
           
 RDFRelation[][] candidateRelationsForEachTriple(com.hp.hpl.jena.graph.Triple[] triples)
           
 void execute()
           
 List[] makePrefixedPropertyBridges(com.hp.hpl.jena.graph.Triple[] triples)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastpathEngine

public FastpathEngine(com.hp.hpl.jena.graph.query.Pipe input,
                      com.hp.hpl.jena.graph.query.Pipe output,
                      Collection rdfRelations,
                      com.hp.hpl.jena.graph.query.Mapping map,
                      com.hp.hpl.jena.graph.query.ExpressionSet constraints,
                      com.hp.hpl.jena.graph.Triple[] triples)
Method Detail

execute

public void execute()

cancel

public void cancel()

candidateRelationsForEachTriple

public RDFRelation[][] candidateRelationsForEachTriple(com.hp.hpl.jena.graph.Triple[] triples)

makePrefixedPropertyBridges

public List[] makePrefixedPropertyBridges(com.hp.hpl.jena.graph.Triple[] triples)