Class Path
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.paths.Path
- All Implemented Interfaces:
org.eclipse.rdf4j.sail.shacl.ast.Exportable
,org.eclipse.rdf4j.sail.shacl.ast.Identifiable
,org.eclipse.rdf4j.sail.shacl.ast.Targetable
- Direct Known Subclasses:
AlternativePath
,InversePath
,OneOrMorePath
,SequencePath
,SimplePath
,ZeroOrMorePath
,ZeroOrOnePath
public abstract class Path
extends Object
implements org.eclipse.rdf4j.sail.shacl.ast.Identifiable, org.eclipse.rdf4j.sail.shacl.ast.Exportable, org.eclipse.rdf4j.sail.shacl.ast.Targetable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Path
buildPath
(ShapeSource shapeSource, Resource id) abstract PlanNode
getAllAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) Get all values added in this transaction.abstract PlanNode
getAnyAdded
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) Get values added in this transaction.getId()
getVariablePrefix
(org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable subject, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable object) abstract boolean
abstract String
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.sail.shacl.ast.Exportable
toModel
Methods inherited from interface org.eclipse.rdf4j.sail.shacl.ast.Targetable
getTargetQueryFragment
-
Constructor Details
-
Path
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceorg.eclipse.rdf4j.sail.shacl.ast.Identifiable
-
buildPath
-
getAllAdded
public abstract PlanNode getAllAdded(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) Get all values added in this transaction. -
getAnyAdded
public abstract PlanNode getAnyAdded(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper) Get 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. -
getVariablePrefix
public String getVariablePrefix(org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable subject, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable object) -
isSupported
public abstract boolean isSupported() -
toSparqlPathString
-
getNamespaces
-