org.joseki.server.processors
Class QueryProcessorRDQL
java.lang.Object
org.joseki.server.processors.QueryProcessorCom
org.joseki.server.processors.QueryProcessorRDQL
- All Implemented Interfaces:
- Loadable, Processor, QueryProcessor
- public class QueryProcessorRDQL
- extends QueryProcessorCom
- implements QueryProcessor
Query processor that executes an RDQL query on a model
and returns the smallest subgraph that gives the same query results.
The client may then recreate the variable bindings if it so wishes.
- Version:
- $Id: QueryProcessorRDQL.java,v 1.10 2004/04/30 14:13:11 andy_seaborne Exp $
- Author:
- Andy Seaborne
- See Also:
HttpQuery
,
QueryEngineHTTP
Method Summary |
com.hp.hpl.jena.rdf.model.Model |
execQuery(ModelSource aModel,
com.hp.hpl.jena.rdf.model.Model queryModel,
Request request)
|
com.hp.hpl.jena.rdf.model.Model |
execQuery(ModelSource src,
java.lang.String queryString,
Request request)
Map from short name for the query language (as used by GET dispatching)
and the long URI. |
java.lang.String |
getInterfaceURI()
The URI for this loadable class.
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.joseki.server.module.Loadable |
init |
QueryProcessorRDQL
public QueryProcessorRDQL()
getInterfaceURI
public java.lang.String getInterfaceURI()
- Description copied from interface:
Loadable
- The URI for this loadable class.
Must agree with the URI specified on loading (if any).
- Specified by:
getInterfaceURI
in interface Loadable
execQuery
public com.hp.hpl.jena.rdf.model.Model execQuery(ModelSource src,
java.lang.String queryString,
Request request)
throws com.hp.hpl.jena.rdf.model.RDFException,
QueryExecutionException
- Description copied from interface:
QueryProcessor
- Map from short name for the query language (as used by GET dispatching)
and the long URI. String maps to String (not a URI object).
- Specified by:
execQuery
in interface QueryProcessor
- Specified by:
execQuery
in class QueryProcessorCom
- Throws:
com.hp.hpl.jena.rdf.model.RDFException
QueryExecutionException
execQuery
public com.hp.hpl.jena.rdf.model.Model execQuery(ModelSource aModel,
com.hp.hpl.jena.rdf.model.Model queryModel,
Request request)
throws com.hp.hpl.jena.rdf.model.RDFException,
QueryExecutionException
- Specified by:
execQuery
in interface QueryProcessor
- Specified by:
execQuery
in class QueryProcessorCom
- Throws:
com.hp.hpl.jena.rdf.model.RDFException
QueryExecutionException
Copyright © 2002 Hewlett-Packard. All Rights Reserved.