public class LinkedDataSail
extends org.openrdf.sail.helpers.SailBase
implements org.openrdf.sail.StackableSail, org.openrdf.sail.NotifyingSail
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CACHE_LIFETIME |
static java.lang.String |
DATATYPE_HANDLING_POLICY |
static java.lang.String |
HTTPCONNECTION_COURTESY_INTERVAL |
static java.lang.String |
HTTPCONNECTION_TIMEOUT |
static java.lang.String |
MEMORY_CACHE_CAPACITY |
static java.lang.String |
RANDOM_URN_PREFIX |
static java.lang.String |
USE_BLANK_NODES |
| 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() |
protected org.openrdf.sail.SailConnection |
getConnectionInternal() |
java.io.File |
getDataDir() |
static java.lang.String |
getProperty(java.lang.String name,
java.lang.String defaultValue) |
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(java.io.File dataDir) |
protected void |
shutDownInternal() |
addSupportedIsolationLevel, connectionClosed, debugEnabled, getDefaultIsolationLevel, getIterationCacheSyncThreshold, getSupportedIsolationLevels, initializeInternal, isInitialized, removeSupportedIsolationLevel, setDefaultIsolationLevel, setIterationCacheSyncThreshold, setSupportedIsolationLevels, setSupportedIsolationLevels, shutDown, toStringpublic static final java.lang.String CACHE_LIFETIME
public static final java.lang.String DATATYPE_HANDLING_POLICY
public static final java.lang.String MEMORY_CACHE_CAPACITY
public static final java.lang.String USE_BLANK_NODES
public static final java.lang.String HTTPCONNECTION_COURTESY_INTERVAL
public static final java.lang.String HTTPCONNECTION_TIMEOUT
public static final java.lang.String RANDOM_URN_PREFIX
public LinkedDataSail(org.openrdf.sail.Sail baseSail,
LinkedDataCache cache)
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 Webpublic LinkedDataSail(org.openrdf.sail.Sail baseSail)
baseSail - base Sail which provides a storage layer for aggregated RDF data.
Note: the base Sail should be initialized before this Sail is used.public static java.lang.String getProperty(java.lang.String name,
java.lang.String defaultValue)
public 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.SailgetConnection in class org.openrdf.sail.helpers.AbstractSailorg.openrdf.sail.SailExceptionprotected org.openrdf.sail.SailConnection getConnectionInternal()
throws org.openrdf.sail.SailException
getConnectionInternal in class org.openrdf.sail.helpers.AbstractSailorg.openrdf.sail.SailExceptionpublic java.io.File getDataDir()
getDataDir in interface org.openrdf.sail.SailgetDataDir in class org.openrdf.sail.helpers.AbstractSailpublic 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.Sailinitialize in class org.openrdf.sail.helpers.AbstractSailorg.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(java.io.File dataDir)
setDataDir in interface org.openrdf.sail.SailsetDataDir in class org.openrdf.sail.helpers.AbstractSailprotected void shutDownInternal()
throws org.openrdf.sail.SailException
shutDownInternal in class org.openrdf.sail.helpers.AbstractSailorg.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-2016. All Rights Reserved.