Class AdditionalURIsForObjectProperties

  • All Implemented Interfaces:
    IndexingUriFinder, ContextModelsUser

    public class AdditionalURIsForObjectProperties
    extends Object
    implements IndexingUriFinder, ContextModelsUser
    For a given statement, return the URIs that may need to be updated in the search index because of their object property relations to the resources in the statement. Context nodes are not handled here. They are taken care of in AdditionalURIsForContextNodex.
    • Constructor Detail

      • AdditionalURIsForObjectProperties

        public AdditionalURIsForObjectProperties()
    • Method Detail

      • findAdditionalURIsToIndex

        public List<String> findAdditionalURIsToIndex​(org.apache.jena.rdf.model.Statement stmt)
        Description copied from interface: IndexingUriFinder
        For the domain that is the responsibility of the given implementation, calculate the URIs that need to be updated in the search index. The URIs in the list will be updated by the IndexBuilder, which will handle URIs of new individuals, URIs of individuals that have changes, and URIs of individuals that have been removed from the model.
        Specified by:
        findAdditionalURIsToIndex in interface IndexingUriFinder
        Returns:
        List of URIs. Never return null.
      • endIndexing

        public void endIndexing()
        Description copied from interface: IndexingUriFinder
        Indicates that the collection of statements being processed is complete.
        Specified by:
        endIndexing in interface IndexingUriFinder
      • doObjectPropertyStmt

        protected List<String> doObjectPropertyStmt​(org.apache.jena.rdf.model.Statement stmt)
      • doDataPropertyStmt

        protected List<String> doDataPropertyStmt​(org.apache.jena.rdf.model.Statement stmt)
      • allIndividualsRelatedByObjectPropertyStmts

        protected List<String> allIndividualsRelatedByObjectPropertyStmts​(String uri)