@Experimental public abstract class ExtensibleStore<T extends DataStructureInterface,N extends NamespaceStoreInterface> extends AbstractNotifyingSail implements FederatedServiceResolverClient
A store where the backing storage can be implemented by the user. Supports up to ReadCommitted.
Extend this class and extend ExtensibleStoreConnection. Implement getConnection().
Implement the DataStructureInterface and the NamespaceStoreInterface. In your ExtensibleStore-extending class implement a constructor and set the following variables: namespaceStore, dataStructure, dataStructureInferred.
Note that the entire ExtensibleStore and all code in this package is experimental. Method signatures, class names, interfaces and the like are likely to change in future releases.
| Modifier and Type | Field and Description |
|---|---|
protected T |
dataStructure |
protected N |
namespaceStore |
protected ExtensibleSailStore |
sailStore |
connectionTimeOut, DEFAULT_CONNECTION_TIMEOUT, DEFAULT_ITERATION_SYNC_THRESHOLD, initializationLock| Constructor and Description |
|---|
ExtensibleStore() |
ExtensibleStore(boolean cacheEnabled) |
| Modifier and Type | Method and Description |
|---|---|
IsolationLevel |
getDefaultIsolationLevel()
Retrieves the default
IsolationLevel level on which transactions in this Sail operate. |
EvaluationStatisticsEnum |
getEvaluationStatisticsType() |
EvaluationStrategyFactory |
getEvaluationStrategyFactory() |
ExtensibleStatementHelper |
getExtensibleStatementHelper() |
FederatedServiceResolver |
getFederatedServiceResolver() |
List<IsolationLevel> |
getSupportedIsolationLevels()
Retrieve the
IsolationLevels supported by this SAIL, ordered by increasing complexity. |
ValueFactory |
getValueFactory()
Gets a ValueFactory object that can be used to create IRI-, blank node-, literal- and statement objects.
|
protected void |
initializeInternal()
Do store-specific operations to initialize the store.
|
void |
setEvaluationStrategyFactory(EvaluationStrategyFactory evalStratFactory) |
void |
setFederatedServiceResolver(FederatedServiceResolver resolver)
Sets the
FederatedServiceResolver to use for this client. |
protected void |
shutDownInternal()
Do store-specific operations to ensure proper shutdown of the store.
|
addSailChangedListener, getConnection, getConnectionInternal, notifySailChanged, removeSailChangedListeneraddSupportedIsolationLevel, connectionClosed, debugEnabled, getDataDir, getIterationCacheSyncThreshold, init, initialize, isInitialized, isTrackResultSize, removeSupportedIsolationLevel, setConnectionTimeOut, setDataDir, setDefaultIsolationLevel, setIterationCacheSyncThreshold, setSupportedIsolationLevels, setSupportedIsolationLevels, setTrackResultSize, shutDown, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDataDir, init, initialize, isWritable, setDataDir, shutDownprotected ExtensibleSailStore sailStore
protected N extends NamespaceStoreInterface namespaceStore
protected T extends DataStructureInterface dataStructure
public ExtensibleStore()
public ExtensibleStore(boolean cacheEnabled)
protected void initializeInternal()
throws SailException
AbstractSailinitializeInternal in class AbstractSailSailExceptionpublic List<IsolationLevel> getSupportedIsolationLevels()
SailIsolationLevels supported by this SAIL, ordered by increasing complexity.getSupportedIsolationLevels in interface SailgetSupportedIsolationLevels in class AbstractSailIsolationLevel.public IsolationLevel getDefaultIsolationLevel()
SailIsolationLevel level on which transactions in this Sail operate.getDefaultIsolationLevel in interface SailgetDefaultIsolationLevel in class AbstractSailIsolationLevel that will be used with SailConnection.begin(), for SAIL connections
returned by Sail.getConnection().public void setFederatedServiceResolver(FederatedServiceResolver resolver)
FederatedServiceResolverClientFederatedServiceResolver to use for this client.setFederatedServiceResolver in interface FederatedServiceResolverClientresolver - The resolver to use.public ValueFactory getValueFactory()
SailgetValueFactory in interface Sailpublic EvaluationStrategyFactory getEvaluationStrategyFactory()
public FederatedServiceResolver getFederatedServiceResolver()
public void setEvaluationStrategyFactory(EvaluationStrategyFactory evalStratFactory)
protected void shutDownInternal()
throws SailException
AbstractSailshutDownInternal in class AbstractSailSailExceptionpublic EvaluationStatisticsEnum getEvaluationStatisticsType()
public ExtensibleStatementHelper getExtensibleStatementHelper()
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.