Interface ProjectionHitMapper<E>
- Type Parameters:
E
- The type of entities.
public interface ProjectionHitMapper<E>
Contract binding result hits and the mapper.
-
Method Summary
Modifier and TypeMethodDescriptionloadBlocking
(Deadline deadline) Loads the entities planned for loading in one go, blocking the current thread while doing so.planLoading
(DocumentReference reference) Plan the loading of an entity.
-
Method Details
-
planLoading
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
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.
-