Interface EntityMapper.StatefulEntityMapper<T extends Identifiable>

Enclosing interface:
EntityMapper<T extends Identifiable>

public static interface EntityMapper.StatefulEntityMapper<T extends Identifiable>
A stateful entity mapper keeps an internal state for a set of candidates to optimize the mapping process.
  • Method Details

    • getName

      String getName()
    • contains

      boolean contains(String identifier)
      Check if any of the candidates can be mapped to the identifier.
    • containsAny

      boolean containsAny(Collection<String> identifiers)
      Check if any of the candidates can be mapped to any of the identifiers.
    • matchOne

      Optional<T> matchOne(String identifier)
      Map the identifier to a matching candidate.
    • matchOne

      Map<String,T> matchOne(Collection<String> identifiers)
      Map each identifier to a matching candidate.
    • matchAll

      Set<T> matchAll(String identifier)
      Match the identifier to all the matching candidates.
    • matchAll

      Map<String,Set<T>> matchAll(Collection<String> identifiers)
      Map each identifier to all the matching candidate.
    • getMappingStatistics

      EntityMapper.MappingStatistics getMappingStatistics(Collection<String> identifiers)
      Calculate mapping statistics for a set of gene identifiers.