Interface LoadingResult<E>
- Type Parameters:
E
- The type of entities.
public interface LoadingResult<E>
The result of the loading of the entities by the
ProjectionHitMapper
.-
Method Summary
Modifier and TypeMethodDescriptionconvertReference
(DocumentReference reference) Convert a document reference to the reference specific to the mapper.
-
Method Details
-
get
- Parameters:
key
- The key that was previously returned byProjectionHitMapper.planLoading(DocumentReference)
.- Returns:
- The loaded entity corresponding to the key, or
null
if the entity could not be loaded.
-
convertReference
Convert a document reference to the reference specific to the mapper.- Parameters:
reference
- The document reference.- Returns:
- The reference specific to the mapper.
-