Package org.eclipse.rdf4j.sail.base
Class SnapshotSailStore
java.lang.Object
org.eclipse.rdf4j.sail.base.SnapshotSailStore
- All Implemented Interfaces:
AutoCloseable,SailClosable,SailStore
A
SailStore wrapper that branches the backing SailSources to provide concurrent
IsolationLevels.SNAPSHOT_READ isolation and higher.- Author:
- James Leigh
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotSailStore(SailStore backingStore, ModelFactory modelFactory) Wraps anSailStore, tracking changes inModelFactoryinstances. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this resource, relinquishing any underlying resources.Used bySailSourceConnectionto determine query join order.TheValueFactorythat should be used in association with this.
-
Constructor Details
-
SnapshotSailStore
Wraps anSailStore, tracking changes inModelFactoryinstances.- Parameters:
backingStore-modelFactory-
-
-
Method Details
-
close
Description copied from interface:SailClosableCloses this resource, relinquishing any underlying resources.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSailClosable- Throws:
SailException- if this resource cannot be closed
-
getValueFactory
Description copied from interface:SailStoreTheValueFactorythat should be used in association with this.- Specified by:
getValueFactoryin interfaceSailStore- Returns:
- this object's
ValueFactory
-
getEvaluationStatistics
Description copied from interface:SailStoreUsed bySailSourceConnectionto determine query join order.- Specified by:
getEvaluationStatisticsin interfaceSailStore- Returns:
- a
EvaluationStatisticsthat is aware of the data distribution of thisSailStore.
-
getExplicitSailSource
- Specified by:
getExplicitSailSourcein interfaceSailStore- Returns:
SailSourceof only explicit statements
-
getInferredSailSource
- Specified by:
getInferredSailSourcein interfaceSailStore- Returns:
SailSourceof only inferred statements
-