public interface IEvaluationContext
Modifier and Type | Method and Description |
---|---|
AbstractTripleStore |
getAbstractTripleStore()
Return the database.
|
BOpContextBase |
getBOpContext()
Return the context for evaluation of
IValueExpression s during
query optimization. |
IDescribeCache |
getDescribeCache()
Return the cache for described resources (experimental feature).
|
Set<IVariable<?>> |
getGloballyScopedVariables()
Returns all the variables with a global scope.
|
String |
getLexiconNamespace()
Return the namespace of the
LexiconRelation . |
long |
getLexiconReadTimestamp()
Return the timestamp which will be used to read on the lexicon.
|
String |
getNamespace()
Return the namespace of the
AbstractTripleStore . |
ISolutionSetManager |
getSolutionSetManager()
Return the manager for named solution sets (experimental feature).
|
ISolutionSetStats |
getSolutionSetStats()
Some summary statistics about the exogenous solution sets.
|
ISolutionSetStats |
getSolutionSetStats(String name)
Resolve the pre-existing named solution set returning its
ISolutionSetStats . |
String |
getSPONamespace()
Return the namespace of the
SPORelation . |
StaticAnalysisStats |
getStaticAnalysisStats()
Summary statistics for the static analysis phase.
|
long |
getTimestamp()
The timestamp or transaction identifier associated with the view.
|
boolean |
isCluster()
Return
true if we are running on a cluster. |
boolean |
isQuads()
Return
true iff the target AbstractTripleStore is in
quads mode. |
boolean |
isSIDs()
Return
true iff the target AbstractTripleStore is in
SIDS mode. |
boolean |
isTriples()
Return
true iff the target AbstractTripleStore is in
triples mode. |
void |
setGloballyScopedVariables(Set<IVariable<?>> globallyScopedVariables)
Sets the variables with global scope.
|
ISolutionSetStats getSolutionSetStats()
AST2BOpUtility.convert(AST2BOpContext, IBindingSet[])
before it begins to run the IASTOptimizer
s.StaticAnalysisStats getStaticAnalysisStats()
long getTimestamp()
boolean isCluster()
true
if we are running on a cluster.boolean isQuads()
true
iff the target AbstractTripleStore
is in
quads mode.boolean isSIDs()
true
iff the target AbstractTripleStore
is in
SIDS mode.boolean isTriples()
true
iff the target AbstractTripleStore
is in
triples mode.String getNamespace()
AbstractTripleStore
.String getSPONamespace()
SPORelation
.String getLexiconNamespace()
LexiconRelation
.BOpContextBase getBOpContext()
IValueExpression
s during
query optimization.ILexiconConfiguration
and LexiconRelation
for
evaluation if IValueExpression
s during query
optimization. (During query evaluation this information is passed
into the pipeline operators by the ContextBindingSet
.)BLZG-1372
long getLexiconReadTimestamp()
Note: This uses the timestamp of the triple store view unless this is a read/write transaction, in which case we need to use the last commit point in order to see any writes which it may have performed (lexicon writes are always unisolated).
AbstractTripleStore getAbstractTripleStore()
ISolutionSetManager getSolutionSetManager()
null
.IDescribeCache getDescribeCache()
null
.QueryHints.DESCRIBE_CACHE
ISolutionSetStats getSolutionSetStats(String name)
ISolutionSetStats
.localName
- The local name of the named solution set.ISolutionSetStats
RuntimeException
- if the named solution set can not be found.Set<IVariable<?>> getGloballyScopedVariables()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.