Class Path
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.paths.Path
-
- All Implemented Interfaces:
Exportable
,Identifiable
,Targetable
- Direct Known Subclasses:
AlternativePath
,InversePath
,OneOrMorePath
,SequencePath
,SimplePath
,ZeroOrMorePath
,ZeroOrOnePath
public abstract class Path extends java.lang.Object implements Identifiable, Exportable, 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()
java.util.Set<Namespace>
getNamespaces()
java.lang.String
getVariablePrefix(StatementMatcher.Variable subject, StatementMatcher.Variable object)
abstract boolean
isSupported()
abstract java.lang.String
toSparqlPathString()
-
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
-
-
-
-
Field Detail
-
id
Resource id
-
-
Constructor Detail
-
Path
public Path(Resource id)
-
-
Method Detail
-
getId
public Resource getId()
- Specified by:
getId
in interfaceIdentifiable
-
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 java.lang.String getVariablePrefix(StatementMatcher.Variable subject, StatementMatcher.Variable object)
-
isSupported
public abstract boolean isSupported()
-
toSparqlPathString
public abstract java.lang.String toSparqlPathString()
-
getNamespaces
public final java.util.Set<Namespace> getNamespaces()
- Specified by:
getNamespaces
in interfaceTargetable
-
-