Class TabularIndexHost.TabularIndexScope
- java.lang.Object
-
- org.eclipse.viatra.query.runtime.internal.apiimpl.EngineContextFactory
-
- org.eclipse.viatra.query.runtime.api.scope.QueryScope
-
- org.eclipse.viatra.query.runtime.tabular.TabularIndexHost.TabularIndexScope
-
- Enclosing class:
- TabularIndexHost
public class TabularIndexHost.TabularIndexScope extends QueryScope
A scope describing queries evaluated against tzhis index host.
-
-
Constructor Summary
Constructors Constructor Description TabularIndexScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IEngineContext
createEngineContext(ViatraQueryEngine engine, IIndexingErrorListener errorListener, org.apache.log4j.Logger logger)
boolean
equals(java.lang.Object obj)
TabularIndexHost
getIndexHost()
int
hashCode()
boolean
isCompatibleWithQueryScope(java.lang.Class<? extends QueryScope> queryScopeClass)
Determines whether a query engine initialized on this scope can evaluate queries formulated against the given scope type.
-
-
-
Method Detail
-
getIndexHost
public TabularIndexHost getIndexHost()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
isCompatibleWithQueryScope
public boolean isCompatibleWithQueryScope(java.lang.Class<? extends QueryScope> queryScopeClass)
Description copied from class:QueryScope
Determines whether a query engine initialized on this scope can evaluate queries formulated against the given scope type.Every query scope class is compatible with a query engine initialized on a scope of the same class or a subclass.
- Overrides:
isCompatibleWithQueryScope
in classQueryScope
- Parameters:
queryScopeClass
- the scope class returned by invokingIQuerySpecification.getPreferredScopeClass()
on a query specification- Returns:
- true if an
ViatraQueryEngine
initialized on this scope can consume anIQuerySpecification
-
createEngineContext
protected IEngineContext createEngineContext(ViatraQueryEngine engine, IIndexingErrorListener errorListener, org.apache.log4j.Logger logger)
- Specified by:
createEngineContext
in classorg.eclipse.viatra.query.runtime.internal.apiimpl.EngineContextFactory
-
-