Interface LoadingResult<R,E>
-
- Type Parameters:
R
- The type of entity references.E
- The type of entities.
public interface LoadingResult<R,E>
The result of the loading of the entities by theProjectionHitMapper
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
convertReference(DocumentReference reference)
Convert a document reference to the reference specific to the mapper.E
get(Object key)
-
-
-
Method Detail
-
get
E get(Object key)
- 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
R convertReference(DocumentReference reference)
Convert a document reference to the reference specific to the mapper.- Parameters:
reference
- The document reference.- Returns:
- The reference specific to the mapper.
-
-