Class CheckEqualsValuesBasedOnPathAndPredicate
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.planNodes.CheckEqualsValuesBasedOnPathAndPredicate
-
- All Implemented Interfaces:
PlanNode
public class CheckEqualsValuesBasedOnPathAndPredicate extends Object
Used by sh:equals to return any targets and values where the target has values by path that are not values by the predicate, or vice versa. It returns the targets and any symmetricDifference values when comparing the set of values by path and by predicate.- Author:
- HÃ¥vard Ottestad
-
-
Constructor Summary
Constructors Constructor Description CheckEqualsValuesBasedOnPathAndPredicate(SailConnection connection, Resource[] dataGraph, PlanNode parent, IRI predicate, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable<Resource> subject, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable<Value> object, org.eclipse.rdf4j.sail.shacl.ast.SparqlFragment targetQueryFragment, org.eclipse.rdf4j.sail.shacl.ast.Shape shape, ConstraintComponent constraintComponent, boolean produceValidationReports)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
depth()
String
getId()
void
getPlanAsGraphvizDot(StringBuilder stringBuilder)
CloseableIteration<? extends ValidationTuple>
iterator()
boolean
producesSorted()
void
receiveLogger(ValidationExecutionLogger validationExecutionLogger)
boolean
requiresSorted()
-
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.planNodes.PlanNode
isGuaranteedEmpty
-
-
-
-
Constructor Detail
-
CheckEqualsValuesBasedOnPathAndPredicate
public CheckEqualsValuesBasedOnPathAndPredicate(SailConnection connection, Resource[] dataGraph, PlanNode parent, IRI predicate, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable<Resource> subject, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable<Value> object, org.eclipse.rdf4j.sail.shacl.ast.SparqlFragment targetQueryFragment, org.eclipse.rdf4j.sail.shacl.ast.Shape shape, ConstraintComponent constraintComponent, boolean produceValidationReports)
-
-
Method Detail
-
iterator
public CloseableIteration<? extends ValidationTuple> iterator()
-
getPlanAsGraphvizDot
public void getPlanAsGraphvizDot(StringBuilder stringBuilder)
- Specified by:
getPlanAsGraphvizDot
in interfacePlanNode
-
receiveLogger
public void receiveLogger(ValidationExecutionLogger validationExecutionLogger)
- Specified by:
receiveLogger
in interfacePlanNode
-
producesSorted
public boolean producesSorted()
- Specified by:
producesSorted
in interfacePlanNode
-
requiresSorted
public boolean requiresSorted()
- Specified by:
requiresSorted
in interfacePlanNode
-
-