Class ISearchContext.SearchContext

  • All Implemented Interfaces:
    ISearchContext
    Enclosing interface:
    ISearchContext

    public static class ISearchContext.SearchContext
    extends java.lang.Object
    implements ISearchContext
    No Implement:
    This interface is not intended to be implemented by clients.
    No Extend:
    This interface is not intended to be extended by clients.
    No Reference:
    This class is not intended to be referenced by clients.
    • Method Detail

      • registerObservedTypes

        public 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)
        Specified by:
        registerObservedTypes in interface ISearchContext
      • accessBackendLevelCache

        public <T> T accessBackendLevelCache​(java.lang.Object key,
                                             java.lang.Class<? extends T> clazz,
                                             IProvider<T> valueProvider)
        Description copied from interface: ISearchContext
        Allows search operations to cache values through the entire lifecycle of the local search backend. The values are calculated if not cached before using the given provider, or returned from the cache accordingly.
        Specified by:
        accessBackendLevelCache in interface ISearchContext
      • getLogger

        public org.apache.log4j.Logger getLogger()
        Description copied from interface: ISearchContext
        Returns the engine-specific logger
        Specified by:
        getLogger in interface ISearchContext