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 Summary
Modifier and TypeMethodDescriptionbooleanCheck if any of the candidates can be mapped to the identifier.booleancontainsAny(Collection<String> identifiers) Check if any of the candidates can be mapped to any of the identifiers.getMappingStatistics(Collection<String> identifiers) Calculate mapping statistics for a set of gene identifiers.getName()Match the identifier to all the matching candidates.matchAll(Collection<String> identifiers) Map each identifier to all the matching candidate.Map the identifier to a matching candidate.matchOne(Collection<String> identifiers) Map each identifier to a matching candidate.
-
Method Details
-
getName
String getName() -
contains
Check if any of the candidates can be mapped to the identifier. -
containsAny
Check if any of the candidates can be mapped to any of the identifiers. -
matchOne
Map the identifier to a matching candidate. -
matchOne
Map each identifier to a matching candidate. -
matchAll
Match the identifier to all the matching candidates. -
matchAll
Map each identifier to all the matching candidate. -
getMappingStatistics
Calculate mapping statistics for a set of gene identifiers.
-