Class SequencePath
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.paths.Path
-
- org.eclipse.rdf4j.sail.shacl.ast.paths.SequencePath
-
- All Implemented Interfaces:
org.eclipse.rdf4j.sail.shacl.ast.Exportable,org.eclipse.rdf4j.sail.shacl.ast.Identifiable,org.eclipse.rdf4j.sail.shacl.ast.Targetable
public class SequencePath extends Path
-
-
Constructor Summary
Constructors Constructor Description SequencePath(Resource id, List<Path> paths)SequencePath(Resource id, ShapeSource shapeSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)PlanNodegetAllAdded(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper)Get all values added in this transaction.PlanNodegetAnyAdded(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper)Get values added in this transaction.org.eclipse.rdf4j.sail.shacl.ast.SparqlFragmentgetTargetQueryFragment(org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable subject, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, Set<String> inheritedVarNames)inthashCode()booleanisSupported()voidtoModel(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection)StringtoSparqlPathString()StringtoString()-
Methods inherited from class org.eclipse.rdf4j.sail.shacl.ast.paths.Path
buildPath, getId, getNamespaces, getVariablePrefix
-
-
-
-
Constructor Detail
-
SequencePath
public SequencePath(Resource id, ShapeSource shapeSource)
-
-
Method Detail
-
toModel
public void toModel(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection)
-
getAllAdded
public PlanNode getAllAdded(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper)
Description copied from class:PathGet all values added in this transaction.- Specified by:
getAllAddedin classPath
-
getAnyAdded
public PlanNode getAnyAdded(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper)
Description copied from class:PathGet values added in this transaction. Validation performance may improve if more values are retrieved. Validation correctness and completeness will not be affected if fewer values are retrieved, or if no items are retrieved.- Specified by:
getAnyAddedin classPath
-
getTargetQueryFragment
public org.eclipse.rdf4j.sail.shacl.ast.SparqlFragment getTargetQueryFragment(org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable subject, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, Set<String> inheritedVarNames)
-
isSupported
public boolean isSupported()
- Specified by:
isSupportedin classPath
-
toSparqlPathString
public String toSparqlPathString()
- Specified by:
toSparqlPathStringin classPath
-
-