Interface ProjectionHitMapper<R,E>
-
- Type Parameters:
R- The type of entity references.E- The type of entities.
- All Known Implementing Classes:
DefaultProjectionHitMapper
public interface ProjectionHitMapper<R,E>Contract binding result hits and the mapper.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoadingResult<R,E>loadBlocking()Loads the entities planned for loading in one go, blocking the current thread while doing so.ObjectplanLoading(DocumentReference reference)Plan the loading of an entity.
-
-
-
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
LoadingResultafter load.
-
loadBlocking
LoadingResult<R,E> loadBlocking()
Loads the entities planned for loading in one go, blocking the current thread while doing so.- Returns:
- The loaded entities.
-
-