org.openrdf.repository.sparql
Class SPARQLRepository
java.lang.Object
org.openrdf.repository.http.HTTPRepository
org.openrdf.repository.sparql.SPARQLRepository
- All Implemented Interfaces:
- Repository
public class SPARQLRepository
- extends HTTPRepository
Sesame repository for a SPARQL end-point. This repository uses the SPARQL
protocol for communication to the remote server. This implementation extends
the HTTPRepository adding binding support for URI and Literals and
implements the
RepositoryConnection.getStatements(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.Value, boolean, org.openrdf.model.Resource...)
method for URI and Literal values.
SPARQL end-points are read-only and do not support BNode references.
- Author:
- James Leigh
| Methods inherited from class org.openrdf.repository.http.HTTPRepository |
getDataDir, getPreferredRDFFormat, getPreferredTupleQueryResultFormat, getValueFactory, initialize, isWritable, setDataDir, setPreferredRDFFormat, setPreferredTupleQueryResultFormat, setUsernameAndPassword, shutDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPARQLRepository
public SPARQLRepository(String repositoryURL)
getConnection
public RepositoryConnection getConnection()
throws RepositoryException
- Specified by:
getConnection in interface Repository- Overrides:
getConnection in class HTTPRepository
- Throws:
RepositoryException
Copyright © 2004-2008 Aduna. All Rights Reserved.