public interface IEngineContext
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes this context object.
|
IBaseIndex |
getBaseIndex()
Returns the base index.
|
IQueryRuntimeContext |
getQueryRuntimeContext()
Provides instance model information for pattern matching.
|
IBaseIndex getBaseIndex() throws ViatraQueryException
ViatraQueryException
void dispose()
java.lang.IllegalStateException
- if there are any active listeners to the underlying indexIQueryRuntimeContext getQueryRuntimeContext() throws ViatraQueryException
Implementors note: must be reentrant. If called while index loading is already in progress, must return the single runtime context instance that will eventually index the model. When the runtime query context is invoked in such a case, incomplete indexes are tolerable, but change notifications must be correctly provided as loading commences.
ViatraQueryException