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 IEngineContextcreateEngineContext(ViatraQueryEngine engine, IIndexingErrorListener errorListener, org.apache.log4j.Logger logger)booleanequals(java.lang.Object obj)TabularIndexHostgetIndexHost()inthashCode()booleanisCompatibleWithQueryScope(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:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
isCompatibleWithQueryScope
public boolean isCompatibleWithQueryScope(java.lang.Class<? extends QueryScope> queryScopeClass)
Description copied from class:QueryScopeDetermines 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:
isCompatibleWithQueryScopein classQueryScope- Parameters:
queryScopeClass- the scope class returned by invokingIQuerySpecification.getPreferredScopeClass()on a query specification- Returns:
- true if an
ViatraQueryEngineinitialized on this scope can consume anIQuerySpecification
-
createEngineContext
protected IEngineContext createEngineContext(ViatraQueryEngine engine, IIndexingErrorListener errorListener, org.apache.log4j.Logger logger)
- Specified by:
createEngineContextin classorg.eclipse.viatra.query.runtime.internal.apiimpl.EngineContextFactory
-
-