Interface PojoSelectionLoadingStrategy<E>

Type Parameters:
E - The type of loaded entities.

public interface PojoSelectionLoadingStrategy<E>
A strategy for entity loading during search and in indexing plans.
  • Method Details

    • equals

      boolean equals(Object obj)
      Overrides:
      equals in class Object
      Parameters:
      obj - Another strategy
      Returns:
      true if the other strategy targets the same entity hierarchy and can be used as a replacement for this one. false otherwise or when unsure.
    • hashCode

      int hashCode()
      Overrides:
      hashCode in class Object
    • createLoader

      PojoSelectionEntityLoader<E> createLoader(Set<? extends PojoLoadingTypeContext<? extends E>> expectedTypes)
      Parameters:
      expectedTypes - The expected types of loaded objects. The types are guaranteed to be assigned this strategy.
      Returns:
      A loader.