Interface ProjectionHitMapper<E>

Type Parameters:
E - The type of entities.

public interface ProjectionHitMapper<E>
Contract binding result hits and the mapper.
  • Method Details

    • planLoading

      Object planLoading(DocumentReference reference)
      Plan the loading of an entity.
      Parameters:
      reference - The document reference.
      Returns:
      The key to use to retrieve the loaded entity from LoadingResult after load.
    • loadBlocking

      LoadingResult<E> loadBlocking(Deadline deadline)
      Loads the entities planned for loading in one go, blocking the current thread while doing so.
      Parameters:
      deadline - The deadline for loading the entities, or null if there is no deadline.
      Returns:
      The loaded entities.