Interface ConceptPathFinderFactory<T extends ConceptPathFinderFactory<T>>
- All Known Implementing Classes:
ConceptPathFinderFactorySummaryBase,ConceptPathFinderSystem3.ConceptPathFinderFactoryBidirectional,ConceptPathFinderSystemBasic.ConceptPathFinderFactoryBidirectional,ConceptPathFinderSystemBidirectional.ConceptPathFinderFactoryBidirectional,ConceptPathFinderSystemBidirectional2.ConceptPathFinderFactoryBidirectional
public interface ConceptPathFinderFactory<T extends ConceptPathFinderFactory<T>>
-
Method Summary
Modifier and TypeMethodDescriptionaddPathValidator(BiPredicate<? super org.aksw.jenax.sparql.path.SimplePath, ? super org.apache.jena.sparql.path.P_Path0> validator) build()org.apache.jena.rdfconnection.SparqlQueryConnectionorg.apache.jena.rdf.model.ModelReturns the previously set data summary.setDataConnection(org.apache.jena.rdfconnection.SparqlQueryConnection conn) Deprecated.setDataSource(org.aksw.jenax.dataaccess.sparql.datasource.RDFDataSource dataSource) setDataSummary(org.apache.jena.graph.Graph dataSummary) setDataSummary(org.apache.jena.rdf.model.Model dataSummary) setShortestPathsOnly(Boolean onOrOff) setSimplePathsOnly(Boolean onOrOff)
-
Method Details
-
setDataSummary
-
setDataSummary
-
setDataConnection
Deprecated. -
setDataSource
-
setShortestPathsOnly
-
setSimplePathsOnly
-
getDataSummary
org.apache.jena.rdf.model.Model getDataSummary()Returns the previously set data summary. In case aGraphhas been set, use the returned model's .getGraph() method to obtain it // *- Returns:
-
getDataConnection
org.apache.jena.rdfconnection.SparqlQueryConnection getDataConnection() -
build
ConceptPathFinder build() -
getShortestPathsOnly
Boolean getShortestPathsOnly() -
getSimplePathsOnly
Boolean getSimplePathsOnly() -
addPathValidator
T addPathValidator(BiPredicate<? super org.aksw.jenax.sparql.path.SimplePath, ? super org.apache.jena.sparql.path.P_Path0> validator)
-