org.jrdf.sparql
Class SparqlConnectionImpl
java.lang.Object
org.jrdf.sparql.SparqlConnectionImpl
- All Implemented Interfaces:
- SparqlConnection
public final class SparqlConnectionImpl
- extends Object
- implements SparqlConnection
Default implementation of a SparqlConnection
.
- Version:
- $Id: SparqlConnectionImpl.java 982 2006-12-08 08:42:51Z newmana $
- Author:
- Tom Adams
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SparqlConnectionImpl
public SparqlConnectionImpl(QueryBuilder builder,
QueryEngine queryEngine)
- Creates a new SPARQL connection.
- Parameters:
builder
- the query builder that builds queries.queryEngine
- the engine that executed the query.
executeQuery
public Answer executeQuery(Graph graph,
String queryText)
throws InvalidQuerySyntaxException,
GraphException
- Specified by:
executeQuery
in interface SparqlConnection
- Throws:
InvalidQuerySyntaxException
GraphException