net.fortytwo.sesametools.reposail
Class RepositorySail
java.lang.Object
org.openrdf.sail.helpers.SailBase
net.fortytwo.sesametools.reposail.RepositorySail
- All Implemented Interfaces:
- org.openrdf.sail.Sail
public class RepositorySail
- extends org.openrdf.sail.helpers.SailBase
A Sail which wraps a Repository
- Author:
- Joshua Shinavier (http://fortytwo.net).
| Fields inherited from class org.openrdf.sail.helpers.SailBase |
connectionTimeOut, DEFAULT_CONNECTION_TIMEOUT, initializationLock, logger |
|
Constructor Summary |
RepositorySail(org.openrdf.repository.Repository repo)
|
| Methods inherited from class org.openrdf.sail.helpers.SailBase |
connectionClosed, debugEnabled, getConnection, initialize, isInitialized, shutDown, toString |
RepositorySail
public RepositorySail(org.openrdf.repository.Repository repo)
disableInference
public void disableInference()
getConnectionInternal
protected org.openrdf.sail.SailConnection getConnectionInternal()
throws org.openrdf.sail.SailException
- Specified by:
getConnectionInternal in class org.openrdf.sail.helpers.SailBase
- Throws:
org.openrdf.sail.SailException
getDataDir
public File getDataDir()
- Specified by:
getDataDir in interface org.openrdf.sail.Sail- Overrides:
getDataDir in class org.openrdf.sail.helpers.SailBase
getValueFactory
public org.openrdf.model.ValueFactory getValueFactory()
initializeInternal
protected void initializeInternal()
throws org.openrdf.sail.SailException
- Overrides:
initializeInternal in class org.openrdf.sail.helpers.SailBase
- Throws:
org.openrdf.sail.SailException
isWritable
public boolean isWritable()
throws org.openrdf.sail.SailException
- Throws:
org.openrdf.sail.SailException
setDataDir
public void setDataDir(File file)
- Specified by:
setDataDir in interface org.openrdf.sail.Sail- Overrides:
setDataDir in class org.openrdf.sail.helpers.SailBase
shutDownInternal
protected void shutDownInternal()
throws org.openrdf.sail.SailException
- Specified by:
shutDownInternal in class org.openrdf.sail.helpers.SailBase
- Throws:
org.openrdf.sail.SailException
Copyright © 2014. All Rights Reserved.