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
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static 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.Resource
getId()
Set<Namespace>
getNamespaces()
String
getVariablePrefix(org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable subject, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable object)
abstract boolean
isSupported()
abstract String
toSparqlPathString()
-
-
-
Constructor Detail
-
Path
public Path(Resource id)
-
-
Method Detail
-
getId
public Resource getId()
- Specified by:
getId
in interfaceorg.eclipse.rdf4j.sail.shacl.ast.Identifiable
-
buildPath
public static Path buildPath(ShapeSource shapeSource, Resource id)
-
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 value 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
public abstract String toSparqlPathString()
-
-