Class EffectiveTarget
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.targets.EffectiveTarget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
static class
static enum
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ArrayDeque
<EffectiveTarget.EffectiveTargetFragment> private final EffectiveTarget.EffectiveTargetFragment
static final String[]
static final String
-
Constructor Summary
ConstructorsConstructorDescriptionEffectiveTarget
(ArrayDeque<Targetable> chain, Targetable optional, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, 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) 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) private String
getTargetVarName
(int i) private List
<StatementMatcher.Variable<Value>> getVars()
-
Field Details
-
TARGET_VAR_PREFIX
- See Also:
-
TARGET_NAMES
-
chain
-
optional
-
-
Constructor Details
-
EffectiveTarget
public EffectiveTarget(ArrayDeque<Targetable> chain, Targetable optional, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider)
-
-
Method Details
-
getTargetVarName
-
getTargetVar
-
extend
public PlanNode extend(PlanNode source, ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, EffectiveTarget.Extend direction, boolean includePropertyShapeValues, Function<PlanNode, PlanNode> filter) -
getVars
-
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
-