Interface ProjectionHitMapper<R,​E>

  • Type Parameters:
    R - The type of entity references.
    E - The type of entities.

    public interface ProjectionHitMapper<R,​E>
    Contract binding result hits and the mapper.
    • Method Detail

      • planLoading

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

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