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 SailSource
s to provide concurrent
IsolationLevels.SNAPSHOT_READ
isolation and higher.- Author:
- James Leigh
-
Constructor Summary
ConstructorDescriptionSnapshotSailStore(SailStore backingStore, ModelFactory modelFactory)
Wraps anSailStore
, tracking changes inModelFactory
instances. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes this resource, relinquishing any underlying resources.Used bySailSourceConnection
to determine query join order.TheValueFactory
that should be used in association with this.
-
Constructor Details
-
SnapshotSailStore
Wraps anSailStore
, tracking changes inModelFactory
instances.- Parameters:
backingStore
-modelFactory
-
-
-
Method Details
-
close
Description copied from interface:SailClosable
Closes this resource, relinquishing any underlying resources.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSailClosable
- Throws:
SailException
- if this resource cannot be closed
-
getValueFactory
Description copied from interface:SailStore
TheValueFactory
that should be used in association with this.- Specified by:
getValueFactory
in interfaceSailStore
- Returns:
- this object's
ValueFactory
-
getEvaluationStatistics
Description copied from interface:SailStore
Used bySailSourceConnection
to determine query join order.- Specified by:
getEvaluationStatistics
in interfaceSailStore
- Returns:
- a
EvaluationStatistics
that is aware of the data distribution of thisSailStore
.
-
getExplicitSailSource
- Specified by:
getExplicitSailSource
in interfaceSailStore
- Returns:
SailSource
of only explicit statements
-
getInferredSailSource
- Specified by:
getInferredSailSource
in interfaceSailStore
- Returns:
SailSource
of only inferred statements
-