public class SnapshotSailStore extends Object implements SailStore
SailStore wrapper that branches the backing SailSources to provide concurrent
IsolationLevels.SNAPSHOT_READ isolation and higher.| Constructor and Description |
|---|
SnapshotSailStore(SailStore backingStore,
ModelFactory modelFactory)
Wraps an
SailStore, tracking changes in ModelFactory 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 ModelFactory instances.backingStore - modelFactory - public void close()
throws SailException
SailClosableclose in interface AutoCloseableclose in interface SailClosableSailException - if this resource cannot be closedpublic ValueFactory getValueFactory()
SailStoreValueFactory that should be used in association with this.getValueFactory in interface SailStoreValueFactorypublic EvaluationStatistics getEvaluationStatistics()
SailStoreSailSourceConnection to determine query join order.getEvaluationStatistics in interface SailStoreEvaluationStatistics that is aware of the data distribution of this SailStore .public SailSource getExplicitSailSource()
getExplicitSailSource in interface SailStoreSailSource of only explicit statementspublic SailSource getInferredSailSource()
getInferredSailSource in interface SailStoreSailSource of only inferred statementsCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.