Interface ProjectionHitMapper<E>

  • Type Parameters:
    E - The type of entities.
    All Known Implementing Classes:
    PojoProjectionHitMapper

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

      • 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.