Class EffectiveTarget
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.targets.EffectiveTarget
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEffectiveTarget
(ArrayDeque<org.eclipse.rdf4j.sail.shacl.ast.Targetable> chain, org.eclipse.rdf4j.sail.shacl.ast.Targetable optional, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) -
Method Summary
Modifier and TypeMethodDescriptionboolean
couldMatch
(ConnectionsGroup connectionsGroup, Resource[] dataGraph) extend
(PlanNode source, ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, EffectiveTarget.Extend direction, boolean includePropertyShapeValues, Function<PlanNode, PlanNode> filter) getAllTargets
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable
<Value> getPlanNode
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, boolean includeTargetsAffectedByRemoval, Function<PlanNode, PlanNode> filter) getQuery
(boolean includeOptional) org.eclipse.rdf4j.sail.shacl.ast.SparqlFragment
getQueryFragment
(boolean includeOptional) getTargetFilter
(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.Variable
<Value> int
size()
-
Field Details
-
TARGET_VAR_PREFIX
- See Also:
-
TARGET_NAMES
-
-
Constructor Details
-
EffectiveTarget
public EffectiveTarget(ArrayDeque<org.eclipse.rdf4j.sail.shacl.ast.Targetable> chain, org.eclipse.rdf4j.sail.shacl.ast.Targetable optional, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, org.eclipse.rdf4j.sail.shacl.ast.StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider)
-
-
Method Details
-
getTargetVar
-
extend
public PlanNode extend(PlanNode source, ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, EffectiveTarget.Extend direction, boolean includePropertyShapeValues, Function<PlanNode, PlanNode> filter) -
couldMatch
- Returns:
- false if it is 100% sure that this will not match, else returns true
-
getAllTargets
public PlanNode getAllTargets(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope) -
getPlanNode
public PlanNode getPlanNode(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, boolean includeTargetsAffectedByRemoval, Function<PlanNode, PlanNode> filter) -
getTargetFilter
public PlanNode getTargetFilter(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) -
getQuery
-
getQueryFragment
public org.eclipse.rdf4j.sail.shacl.ast.SparqlFragment getQueryFragment(boolean includeOptional) -
getAllTargetVariables
-
getOptionalVar
-
size
public int size()
-