public class TabularIndexHost.TabularIndexScope extends QueryScope
Constructor and Description |
---|
TabularIndexScope() |
Modifier and Type | Method and 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.
|
public TabularIndexHost getIndexHost()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean isCompatibleWithQueryScope(java.lang.Class<? extends QueryScope> queryScopeClass)
QueryScope
Every query scope class is compatible with a query engine initialized on a scope of the same class or a subclass.
isCompatibleWithQueryScope
in class QueryScope
queryScopeClass
- the scope class returned by invoking IQuerySpecification.getPreferredScopeClass()
on a query specificationViatraQueryEngine
initialized on this scope can consume an IQuerySpecification
protected IEngineContext createEngineContext(ViatraQueryEngine engine, IIndexingErrorListener errorListener, org.apache.log4j.Logger logger)
createEngineContext
in class org.eclipse.viatra.query.runtime.internal.apiimpl.EngineContextFactory