Class EffectiveTarget
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.targets.EffectiveTarget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEffectiveTarget(ArrayDeque<Targetable> chain, Targetable optional, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) -
Method Summary
Modifier and TypeMethodDescriptionbooleancouldMatch(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) getPlanNode(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, boolean includeTargetsAffectedByRemoval, Function<PlanNode, PlanNode> filter) getQuery(boolean includeOptional) getQueryFragment(boolean includeOptional) getTargetFilter(ConnectionsGroup connectionsGroup, Resource[] dataGraph, PlanNode parent) intsize()
-
Field Details
-
TARGET_VAR_PREFIX
- See Also:
-
TARGET_NAMES
-
-
Constructor Details
-
EffectiveTarget
public EffectiveTarget(ArrayDeque<Targetable> chain, Targetable optional, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, 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
-
getAllTargetVariables
-
getOptionalVar
-
size
public int size()
-