public class LinkedDataSail extends Object implements org.openrdf.sail.StackableSail, org.openrdf.sail.NotifyingSail
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_LIFETIME |
static String |
MEMORY_CACHE_CAPACITY |
| Constructor and Description |
|---|
LinkedDataSail(org.openrdf.sail.Sail baseSail) |
LinkedDataSail(org.openrdf.sail.Sail baseSail,
LinkedDataCache cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSailChangedListener(org.openrdf.sail.SailChangedListener listener) |
org.openrdf.sail.Sail |
getBaseSail() |
LinkedDataCache |
getCache() |
org.openrdf.sail.NotifyingSailConnection |
getConnection() |
File |
getDataDir() |
org.openrdf.model.ValueFactory |
getValueFactory() |
void |
initialize() |
boolean |
isWritable() |
void |
removeSailChangedListener(org.openrdf.sail.SailChangedListener listener) |
void |
setBaseSail(org.openrdf.sail.Sail baseSail) |
void |
setDataDir(File dataDir) |
void |
shutDown() |
public static final String CACHE_LIFETIME
public static final String MEMORY_CACHE_CAPACITY
public LinkedDataSail(org.openrdf.sail.Sail baseSail,
LinkedDataCache cache)
throws RippleException
baseSail - base Sail which provides a storage layer for aggregated RDF data (Note: the base Sail should be initialized before this Sail is used)cache - a custom WebClosure providing an RDF-document-level view of the WebRippleException - if there is a configuration errorpublic LinkedDataSail(org.openrdf.sail.Sail baseSail)
throws RippleException
baseSail - base Sail which provides a storage layer for aggregated RDF data (Note: the base Sail should be initialized before this Sail is used)RippleException - if there is a configuration errorpublic void addSailChangedListener(org.openrdf.sail.SailChangedListener listener)
addSailChangedListener in interface org.openrdf.sail.NotifyingSailpublic org.openrdf.sail.NotifyingSailConnection getConnection()
throws org.openrdf.sail.SailException
getConnection in interface org.openrdf.sail.NotifyingSailgetConnection in interface org.openrdf.sail.Sailorg.openrdf.sail.SailExceptionpublic File getDataDir()
getDataDir in interface org.openrdf.sail.Sailpublic org.openrdf.model.ValueFactory getValueFactory()
getValueFactory in interface org.openrdf.sail.Sailpublic void initialize()
throws org.openrdf.sail.SailException
initialize in interface org.openrdf.sail.Sailorg.openrdf.sail.SailExceptionpublic boolean isWritable()
throws org.openrdf.sail.SailException
isWritable in interface org.openrdf.sail.Sailorg.openrdf.sail.SailExceptionpublic void removeSailChangedListener(org.openrdf.sail.SailChangedListener listener)
removeSailChangedListener in interface org.openrdf.sail.NotifyingSailpublic void setDataDir(File dataDir)
setDataDir in interface org.openrdf.sail.Sailpublic void shutDown()
throws org.openrdf.sail.SailException
shutDown in interface org.openrdf.sail.Sailorg.openrdf.sail.SailExceptionpublic org.openrdf.sail.Sail getBaseSail()
getBaseSail in interface org.openrdf.sail.StackableSailpublic void setBaseSail(org.openrdf.sail.Sail baseSail)
setBaseSail in interface org.openrdf.sail.StackableSailpublic LinkedDataCache getCache()
Copyright © 2007-2012 fortytwo.net. All Rights Reserved.