public final class StardogRepository
extends org.eclipse.rdf4j.repository.base.AbstractRepository
Implementation of a Stardog-based rdf4j Repository.
| Constructor and Description |
|---|
StardogRepository(ConnectionConfiguration theConfig)
Create a new StardogRepository
|
StardogRepository(String theConnectionString)
Create a new StardogRepository
|
| Modifier and Type | Method and Description |
|---|---|
StardogRepositoryConnection |
getConnection() |
File |
getDataDir() |
org.eclipse.rdf4j.model.ValueFactory |
getValueFactory() |
protected void |
initializeInternal() |
boolean |
isWritable()
Returns true.
|
void |
setDataDir(File theFile) |
protected void |
shutDownInternal() |
public StardogRepository(String theConnectionString)
theConnectionString - the connection stringpublic StardogRepository(ConnectionConfiguration theConfig)
theConfig - the configurationpublic void setDataDir(File theFile)
UnsupportedOperationException - This method always throws this exception because the nominal data dir for the database
backing this Repository is on a remote machine and as such, this invocation is not relevant.public File getDataDir()
UnsupportedOperationException - This method always throws this exception because the nominal data dir for the database
backing this Repository is on a remote machine and as such, this invocation is not relevant.public boolean isWritable()
throws org.eclipse.rdf4j.repository.RepositoryException
org.eclipse.rdf4j.repository.RepositoryExceptionpublic StardogRepositoryConnection getConnection() throws org.eclipse.rdf4j.repository.RepositoryException
org.eclipse.rdf4j.repository.RepositoryExceptionpublic org.eclipse.rdf4j.model.ValueFactory getValueFactory()
protected void initializeInternal()
throws org.eclipse.rdf4j.repository.RepositoryException
initializeInternal in class org.eclipse.rdf4j.repository.base.AbstractRepositoryorg.eclipse.rdf4j.repository.RepositoryExceptionprotected void shutDownInternal()
throws org.eclipse.rdf4j.repository.RepositoryException
shutDownInternal in class org.eclipse.rdf4j.repository.base.AbstractRepositoryorg.eclipse.rdf4j.repository.RepositoryExceptionCopyright © 2010-2016 Stardog Union. All Rights Reserved.