Interface PojoSelectionLoadingContext


  • public interface PojoSelectionLoadingContext
    • Method Detail

      • checkOpen

        void checkOpen()
        Check whether this context is still open, throwing an exception if it is not.
      • loadingStrategy

        <T> PojoSelectionLoadingStrategy<? super T> loadingStrategy​(PojoLoadingTypeContext<T> type)
        Type Parameters:
        T - The type of entities that will have to be loaded.
        Parameters:
        type - The type of entities that will have to be loaded.
        Returns:
        A loading strategy. Note that different types with the same strategy will be grouped together and loaded with a single loader.
        Throws:
        org.hibernate.search.util.common.SearchException - if the given type cannot be loaded and thus has no loading strategy.
        See Also:
        PojoSelectionLoadingStrategy.createLoader(Set)