net.fortytwo.sesametools
Class MultiStackableSail

java.lang.Object
  extended by net.fortytwo.sesametools.MultiStackableSail
All Implemented Interfaces:
org.openrdf.sail.Sail, org.openrdf.sail.StackableSail

public class MultiStackableSail
extends Object
implements org.openrdf.sail.StackableSail

A StackableSail which allows multiple Sails to be stacked upon the same base Sail (avoiding re-initialization of the base Sail as the individual stacked Sails are initialized)

Author: josh Date: Mar 28, 2008 Time: 3:51:50 PM


Constructor Summary
MultiStackableSail(org.openrdf.sail.Sail baseSail)
           
 
Method Summary
 org.openrdf.sail.Sail getBaseSail()
           
 org.openrdf.sail.SailConnection getConnection()
           
 File getDataDir()
           
 org.openrdf.model.ValueFactory getValueFactory()
           
 void initialize()
           
 boolean isWritable()
           
 void setBaseSail(org.openrdf.sail.Sail sail)
           
 void setDataDir(File file)
           
 void shutDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiStackableSail

public MultiStackableSail(org.openrdf.sail.Sail baseSail)
Method Detail

setBaseSail

public void setBaseSail(org.openrdf.sail.Sail sail)
Specified by:
setBaseSail in interface org.openrdf.sail.StackableSail

getBaseSail

public org.openrdf.sail.Sail getBaseSail()
Specified by:
getBaseSail in interface org.openrdf.sail.StackableSail

setDataDir

public void setDataDir(File file)
Specified by:
setDataDir in interface org.openrdf.sail.Sail

getDataDir

public File getDataDir()
Specified by:
getDataDir in interface org.openrdf.sail.Sail

initialize

public void initialize()
                throws org.openrdf.sail.SailException
Specified by:
initialize in interface org.openrdf.sail.Sail
Throws:
org.openrdf.sail.SailException

shutDown

public void shutDown()
              throws org.openrdf.sail.SailException
Specified by:
shutDown in interface org.openrdf.sail.Sail
Throws:
org.openrdf.sail.SailException

isWritable

public boolean isWritable()
                   throws org.openrdf.sail.SailException
Specified by:
isWritable in interface org.openrdf.sail.Sail
Throws:
org.openrdf.sail.SailException

getConnection

public org.openrdf.sail.SailConnection getConnection()
                                              throws org.openrdf.sail.SailException
Specified by:
getConnection in interface org.openrdf.sail.Sail
Throws:
org.openrdf.sail.SailException

getValueFactory

public org.openrdf.model.ValueFactory getValueFactory()
Specified by:
getValueFactory in interface org.openrdf.sail.Sail


Copyright © 2013. All Rights Reserved.