net.fortytwo.sesametools.reposail
Class RepositorySail

java.lang.Object
  extended by org.openrdf.sail.helpers.SailBase
      extended by 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).

Field Summary
 
Fields inherited from class org.openrdf.sail.helpers.SailBase
connectionTimeOut, DEFAULT_CONNECTION_TIMEOUT, initializationLock, logger
 
Constructor Summary
RepositorySail(org.openrdf.repository.Repository repo)
           
 
Method Summary
 void disableInference()
           
protected  org.openrdf.sail.SailConnection getConnectionInternal()
           
 File getDataDir()
           
 org.openrdf.model.ValueFactory getValueFactory()
           
protected  void initializeInternal()
           
 boolean isWritable()
           
 void setDataDir(File file)
           
protected  void shutDownInternal()
           
 
Methods inherited from class org.openrdf.sail.helpers.SailBase
connectionClosed, debugEnabled, getConnection, initialize, isInitialized, shutDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositorySail

public RepositorySail(org.openrdf.repository.Repository repo)
Method Detail

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.