public abstract class IncQueryScope extends EngineContextFactory
Constructor and Description |
---|
IncQueryScope() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatibleWithQueryScope(java.lang.Class<? extends IncQueryScope> 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 IncQueryScope> 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 specificationIncQueryEngine
initialized on this scope can consume an IQuerySpecification