public class SnapshotSailStore extends Object implements SailStore
SailStore
wrapper that branches the backing SailSource
s to provide concurrent
IsolationLevels.SNAPSHOT_READ
isolation and higher.Constructor and Description |
---|
SnapshotSailStore(SailStore backingStore,
ModelFactory modelFactory)
Wraps an
SailStore , tracking changes in SailModelFactory instances. |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this resource, relinquishing any underlying resources.
|
EvaluationStatistics |
getEvaluationStatistics()
Used by
SailSourceConnection to determine query join order. |
SailSource |
getExplicitSailSource() |
SailSource |
getInferredSailSource() |
ValueFactory |
getValueFactory()
The
ValueFactory that should be used in association with this. |
public SnapshotSailStore(SailStore backingStore, ModelFactory modelFactory)
SailStore
, tracking changes in SailModelFactory
instances.backingStore
- modelFactory
- public void close() throws SailException
SailClosable
close
in interface AutoCloseable
close
in interface SailClosable
SailException
- if this resource cannot be closedpublic ValueFactory getValueFactory()
SailStore
ValueFactory
that should be used in association with this.getValueFactory
in interface SailStore
ValueFactory
public EvaluationStatistics getEvaluationStatistics()
SailStore
SailSourceConnection
to determine query join order.getEvaluationStatistics
in interface SailStore
EvaluationStatistics
that is aware of the data distribution of this SailStore
.public SailSource getExplicitSailSource()
getExplicitSailSource
in interface SailStore
SailSource
of only explicit statementspublic SailSource getInferredSailSource()
getInferredSailSource
in interface SailStore
SailSource
of only inferred statementsCopyright © 2015-2019 Eclipse Foundation. All Rights Reserved.