public interface ISearchContext
ISearchContext
interface allows search operations to reuse platform services such as the indexer.Modifier and Type | Interface and Description |
---|---|
static class |
ISearchContext.SearchContext |
Modifier and Type | Method and Description |
---|---|
<T> T |
accessBackendLevelCache(java.lang.Object key,
java.lang.Class<? extends T> clazz,
IProvider<T> valueProvider)
Allows search operations to cache values through the entire lifecycle of the local search backend.
|
org.apache.log4j.Logger |
getLogger()
Returns the engine-specific logger
|
IQueryResultProvider |
getMatcher(CallWithAdornment dependency)
Returns a matcher for a selected query specification.
|
IQueryRuntimeContext |
getRuntimeContext()
Provides access to the generic query runtime context of the current engine
|
void |
registerObservedTypes(java.util.Set<org.eclipse.emf.ecore.EClass> classes,
java.util.Set<org.eclipse.emf.ecore.EDataType> dataTypes,
java.util.Set<org.eclipse.emf.ecore.EStructuralFeature> features) |
IQueryRuntimeContext getRuntimeContext()
void registerObservedTypes(java.util.Set<org.eclipse.emf.ecore.EClass> classes, java.util.Set<org.eclipse.emf.ecore.EDataType> dataTypes, java.util.Set<org.eclipse.emf.ecore.EStructuralFeature> features)
classes
- dataTypes
- features
- IQueryResultProvider getMatcher(CallWithAdornment dependency)
ViatraQueryRuntimeException
<T> T accessBackendLevelCache(java.lang.Object key, java.lang.Class<? extends T> clazz, IProvider<T> valueProvider)
org.apache.log4j.Logger getLogger()