de.fuberlin.wiwiss.d2rq.rdql
Class D2RQQueryHandler

java.lang.Object
  extended bycom.hp.hpl.jena.graph.query.SimpleQueryHandler
      extended byde.fuberlin.wiwiss.d2rq.rdql.D2RQQueryHandler
All Implemented Interfaces:
com.hp.hpl.jena.graph.query.QueryHandler

public class D2RQQueryHandler
extends com.hp.hpl.jena.graph.query.SimpleQueryHandler
implements com.hp.hpl.jena.graph.query.QueryHandler

a D2RQQueryHandler handles queries on behalf of a GraphD2RQ graph. subclassing from SimpleQueryHandler for convenience, makes differences clear.


Field Summary
private  boolean doFastpath
           
private  GraphD2RQ graph
           
static boolean runVersion2
           
 
Constructor Summary
D2RQQueryHandler(com.hp.hpl.jena.graph.Graph graph)
           
 
Method Summary
 com.hp.hpl.jena.graph.query.Stage patternStage(com.hp.hpl.jena.graph.query.Mapping map, com.hp.hpl.jena.graph.query.ExpressionSet constraints, com.hp.hpl.jena.graph.Triple[] t)
           
 
Methods inherited from class com.hp.hpl.jena.graph.query.SimpleQueryHandler
containsNode, objectsFor, objectsFor, predicatesFor, predicatesFor, prepareBindings, prepareTree, subjectsFor, subjectsFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.graph.query.QueryHandler
containsNode, objectsFor, predicatesFor, prepareBindings, prepareTree, subjectsFor
 

Field Detail

graph

private GraphD2RQ graph

doFastpath

private boolean doFastpath

runVersion2

public static boolean runVersion2
Constructor Detail

D2RQQueryHandler

public D2RQQueryHandler(com.hp.hpl.jena.graph.Graph graph)
Method Detail

patternStage

public com.hp.hpl.jena.graph.query.Stage patternStage(com.hp.hpl.jena.graph.query.Mapping map,
                                                      com.hp.hpl.jena.graph.query.ExpressionSet constraints,
                                                      com.hp.hpl.jena.graph.Triple[] t)
Specified by:
patternStage in interface com.hp.hpl.jena.graph.query.QueryHandler