public abstract class QueryScope
extends org.eclipse.viatra.query.runtime.internal.apiimpl.EngineContextFactory
| Constructor and Description |
|---|
QueryScope() |
| Modifier and Type | Method and Description |
|---|---|
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 boolean isCompatibleWithQueryScope(java.lang.Class<? extends QueryScope> queryScopeClass)
Every query scope class is compatible with a query engine initialized on a scope of the same class or a subclass.
queryScopeClass - the scope class returned by invoking IQuerySpecification.getPreferredScopeClass() on a query specificationViatraQueryEngine initialized on this scope can consume an IQuerySpecification