org.openrdf.repository.sparql
Class SPARQLRepository

java.lang.Object
  extended by org.openrdf.repository.http.HTTPRepository
      extended by 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

Constructor Summary
SPARQLRepository(String repositoryURL)
           
 
Method Summary
 RepositoryConnection getConnection()
           
 
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
 

Constructor Detail

SPARQLRepository

public SPARQLRepository(String repositoryURL)
Method Detail

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.