Interface IndexingUriFinder
-
- All Known Implementing Classes:
AdditionalURIsForClassGroupChanges,AdditionalURIsForDataProperties,AdditionalURIsForObjectProperties,AdditionalURIsForTypeStatements,SelectQueryUriFinder,URIsForClassGroupChange
public interface IndexingUriFinderInterface to use with IndexBuilder to find more URIs to index given a changed statement. The statement may have been added or removed from the model. Implementing classes must be threadsafe, as multiple threads are used to complete the task. The life-cycle is as follows: startIndexing(), 0 or more calls to findAdditionalURIsToIndex(), endIndexing(). Repeat as desired.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidendIndexing()Indicates that the collection of statements being processed is complete.List<String>findAdditionalURIsToIndex(org.apache.jena.rdf.model.Statement stmt)For the domain that is the responsibility of the given implementation, calculate the URIs that need to be updated in the search index.voidstartIndexing()Indicates that a new collection of statements is about to be processed.
-
-
-
Method Detail
-
findAdditionalURIsToIndex
List<String> findAdditionalURIsToIndex(org.apache.jena.rdf.model.Statement stmt)
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.- Returns:
- List of URIs. Never return null.
-
startIndexing
void startIndexing()
Indicates that a new collection of statements is about to be processed.
-
endIndexing
void endIndexing()
Indicates that the collection of statements being processed is complete.
-
-