Class SimplePath

java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.paths.Path
org.eclipse.rdf4j.sail.shacl.ast.paths.SimplePath
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 SimplePath extends Path
  • Constructor Details Link icon

    • SimplePath Link icon

      public SimplePath(IRI predicate)
  • Method Details Link icon

    • getId Link icon

      public Resource getId()
      Specified by:
      getId in interface org.eclipse.rdf4j.sail.shacl.ast.Identifiable
      Overrides:
      getId in class Path
    • getAllAdded Link icon

      public PlanNode getAllAdded(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper)
      Description copied from class: Path
      Get all values added in this transaction.
      Specified by:
      getAllAdded in class Path
    • getAnyAdded Link icon

      public PlanNode getAnyAdded(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNodeWrapper planNodeWrapper)
      Description copied from class: Path
      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.
      Specified by:
      getAnyAdded in class Path
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object
    • toModel Link icon

      public void toModel(Resource subject, IRI predicate, Model model, Set<Resource> cycleDetection)
    • getTargetQueryFragment Link icon

      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 Link icon

      public boolean isSupported()
      Specified by:
      isSupported in class Path
    • toSparqlPathString Link icon

      public String toSparqlPathString()
      Specified by:
      toSparqlPathString in class Path
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object