Interface SemanticSearchService

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default EntityTypeSearchResults findAttributes​(org.molgenis.data.meta.model.EntityType sourceEntityType, org.molgenis.data.meta.model.EntityType targetEntityType)
      Find attributes in a source entity type that match attributes in a target entity type.
      EntityTypeSearchResults findAttributes​(org.molgenis.data.meta.model.EntityType sourceEntityType, org.molgenis.data.meta.model.EntityType targetEntityType, Set<String> searchTerms)
      Find attributes in a source entity type that match attributes in a target entity type.
      default AttributeSearchResults findAttributes​(org.molgenis.data.meta.model.EntityType sourceEntityType, org.molgenis.data.meta.model.EntityType targetEntityType, org.molgenis.data.meta.model.Attribute targetAttribute)
      Find attributes in a entity type that match the given target attribute in the target entity type.
      AttributeSearchResults findAttributes​(org.molgenis.data.meta.model.EntityType sourceEntityType, org.molgenis.data.meta.model.EntityType targetEntityType, org.molgenis.data.meta.model.Attribute targetAttribute, Set<String> searchTerms)
      Find attributes in an entity type that match the given target attribute in the target entity type.
      Hits<org.molgenis.ontology.core.model.OntologyTerm> findOntologyTerms​(org.molgenis.data.meta.model.Attribute attribute, Collection<org.molgenis.ontology.core.model.Ontology> ontologies)
      Finds ontology terms in the given ontologies that can be used to tag an attribute.
    • Method Detail

      • findAttributes

        default AttributeSearchResults findAttributes​(org.molgenis.data.meta.model.EntityType sourceEntityType,
                                                      org.molgenis.data.meta.model.EntityType targetEntityType,
                                                      org.molgenis.data.meta.model.Attribute targetAttribute)
        Find attributes in a entity type that match the given target attribute in the target entity type.
      • findAttributes

        default EntityTypeSearchResults findAttributes​(org.molgenis.data.meta.model.EntityType sourceEntityType,
                                                       org.molgenis.data.meta.model.EntityType targetEntityType)
        Find attributes in a source entity type that match attributes in a target entity type.
      • findAttributes

        AttributeSearchResults findAttributes​(org.molgenis.data.meta.model.EntityType sourceEntityType,
                                              org.molgenis.data.meta.model.EntityType targetEntityType,
                                              org.molgenis.data.meta.model.Attribute targetAttribute,
                                              Set<String> searchTerms)
        Find attributes in an entity type that match the given target attribute in the target entity type. Optionally constrain the search using one or more search terms.
      • findAttributes

        EntityTypeSearchResults findAttributes​(org.molgenis.data.meta.model.EntityType sourceEntityType,
                                               org.molgenis.data.meta.model.EntityType targetEntityType,
                                               Set<String> searchTerms)
        Find attributes in a source entity type that match attributes in a target entity type. Optionally constrain the search using one or more search terms.
      • findOntologyTerms

        Hits<org.molgenis.ontology.core.model.OntologyTerm> findOntologyTerms​(org.molgenis.data.meta.model.Attribute attribute,
                                                                              Collection<org.molgenis.ontology.core.model.Ontology> ontologies)
        Finds ontology terms in the given ontologies that can be used to tag an attribute.