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 Details

    • get

      E get(Object key)
      Parameters:
      key - The key that was previously returned by ProjectionHitMapper.planLoading(DocumentReference).
      Returns:
      The loaded entity corresponding to the key, or null if the entity could not be loaded.
    • convertReference

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