org.openrdf.repository.sparql
Class SPARQLRepository
java.lang.Object
org.openrdf.repository.sparql.SPARQLRepository
- All Implemented Interfaces:
- Repository
public class SPARQLRepository
- extends Object
- implements Repository
Implement the Repository interface to any SPARQl endpoint.
- Author:
- James Leigh
SPARQLRepository
public SPARQLRepository(String url)
setSubjectSpaces
public void setSubjectSpaces(Set<String> subjects)
getConnection
public RepositoryConnection getConnection()
throws RepositoryException
- Specified by:
getConnection in interface Repository
- Throws:
RepositoryException
getDataDir
public File getDataDir()
- Specified by:
getDataDir in interface Repository
getValueFactory
public ValueFactory getValueFactory()
- Specified by:
getValueFactory in interface Repository
initialize
public void initialize()
throws RepositoryException
- Specified by:
initialize in interface Repository
- Throws:
RepositoryException
isWritable
public boolean isWritable()
throws RepositoryException
- Specified by:
isWritable in interface Repository
- Throws:
RepositoryException
setDataDir
public void setDataDir(File dataDir)
- Specified by:
setDataDir in interface Repository
shutDown
public void shutDown()
throws RepositoryException
- Specified by:
shutDown in interface Repository
- Throws:
RepositoryException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.