org.d2rq.jena
Class D2RQQueryHandler
java.lang.Object
com.hp.hpl.jena.graph.query.SimpleQueryHandler
org.d2rq.jena.D2RQQueryHandler
- All Implemented Interfaces:
- QueryHandler
public class D2RQQueryHandler
- extends SimpleQueryHandler
An implementation of Jena's QueryHandler
interface
that answers BGP queries on behalf of a GraphD2RQ
.
This is here for Jena compatibility, and is not involved
in answering SPARQL queries through ARQ. It uses the
QueryEngineD2RQ
to answer BGP queries and wraps
it into the expected interface.
- Author:
- Richard Cyganiak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
D2RQQueryHandler
public D2RQQueryHandler(Graph graph)
prepareTree
public TreeQueryPlan prepareTree(Graph pattern)
- Specified by:
prepareTree
in interface QueryHandler
- Overrides:
prepareTree
in class SimpleQueryHandler
prepareBindings
public BindingQueryPlan prepareBindings(GraphQuery q,
Node[] variables)
- Specified by:
prepareBindings
in interface QueryHandler
- Overrides:
prepareBindings
in class SimpleQueryHandler