Class AlternativePath
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.paths.Path
-
- org.eclipse.rdf4j.sail.shacl.ast.paths.AlternativePath
-
- All Implemented Interfaces:
Exportable,Identifiable,Targetable
public class AlternativePath extends Path
-
-
Constructor Summary
Constructors Constructor Description AlternativePath(org.eclipse.rdf4j.model.Resource id, org.eclipse.rdf4j.model.Resource alternativePath, ShapeSource shapeSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanNodegetAdded(ConnectionsGroup connectionsGroup, org.eclipse.rdf4j.model.Resource[] dataGraph, PlanNodeWrapper planNodeWrapper)Stream<StatementMatcher>getStatementMatcher(StatementMatcher.Variable subject, StatementMatcher.Variable object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner)StringgetTargetQueryFragment(StatementMatcher.Variable subject, StatementMatcher.Variable object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider)booleanisSupported()voidtoModel(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Model model, Set<org.eclipse.rdf4j.model.Resource> cycleDetection)StringtoString()
-
-
-
Constructor Detail
-
AlternativePath
public AlternativePath(org.eclipse.rdf4j.model.Resource id, org.eclipse.rdf4j.model.Resource alternativePath, ShapeSource shapeSource)
-
-
Method Detail
-
toModel
public void toModel(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Model model, Set<org.eclipse.rdf4j.model.Resource> cycleDetection)
-
getAdded
public PlanNode getAdded(ConnectionsGroup connectionsGroup, org.eclipse.rdf4j.model.Resource[] dataGraph, PlanNodeWrapper planNodeWrapper)
-
isSupported
public boolean isSupported()
- Specified by:
isSupportedin classPath- Returns:
- true if feature is currently supported by the ShaclSail
-
getStatementMatcher
public Stream<StatementMatcher> getStatementMatcher(StatementMatcher.Variable subject, StatementMatcher.Variable object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner)
-
getTargetQueryFragment
public String getTargetQueryFragment(StatementMatcher.Variable subject, StatementMatcher.Variable object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider)
-
-