Class NotConstraintComponent
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
-
- org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.NotConstraintComponent
-
- All Implemented Interfaces:
ConstraintComponent
,Exportable
,TargetChainInterface
public class NotConstraintComponent extends AbstractConstraintComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.ConstraintComponent
ConstraintComponent.Scope
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Shape
not
-
Fields inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
VALUES_INJECTION_POINT
-
-
Constructor Summary
Constructors Constructor Description NotConstraintComponent(Resource id, ShapeSource shapeSource, Shape.ParseSettings parseSettings, Cache cache)
NotConstraintComponent(NotConstraintComponent notConstraintComponent)
-
Method Summary
-
Methods inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
buildSparqlValidNodes_rsx_targetShape, getId, getOptimalBulkValidationApproach, getPreferredValidationApproach, getTargetChain, stringRepresentationOfValue, trim
-
-
-
-
Field Detail
-
not
Shape not
-
-
Constructor Detail
-
NotConstraintComponent
public NotConstraintComponent(Resource id, ShapeSource shapeSource, Shape.ParseSettings parseSettings, Cache cache)
-
NotConstraintComponent
public NotConstraintComponent(NotConstraintComponent notConstraintComponent)
-
-
Method Detail
-
toModel
public void toModel(Resource subject, IRI predicate, Model model, java.util.Set<Resource> cycleDetection)
-
setTargetChain
public void setTargetChain(TargetChain targetChain)
- Specified by:
setTargetChain
in interfaceTargetChainInterface
- Overrides:
setTargetChain
in classAbstractConstraintComponent
-
getConstraintComponent
public SourceConstraintComponent getConstraintComponent()
-
generateSparqlValidationQuery
public ValidationQuery generateSparqlValidationQuery(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, boolean negatePlan, boolean negateChildren, ConstraintComponent.Scope scope)
- Specified by:
generateSparqlValidationQuery
in interfaceConstraintComponent
- Overrides:
generateSparqlValidationQuery
in classAbstractConstraintComponent
-
generateTransactionalValidationPlan
public PlanNode generateTransactionalValidationPlan(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope)
- Specified by:
generateTransactionalValidationPlan
in interfaceConstraintComponent
- Overrides:
generateTransactionalValidationPlan
in classAbstractConstraintComponent
-
getAllTargetsPlan
public PlanNode getAllTargetsPlan(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider)
- Specified by:
getAllTargetsPlan
in interfaceConstraintComponent
- Overrides:
getAllTargetsPlan
in classAbstractConstraintComponent
-
deepClone
public ConstraintComponent deepClone()
-
requiresEvaluation
public boolean requiresEvaluation(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider)
- Specified by:
requiresEvaluation
in interfaceConstraintComponent
- Overrides:
requiresEvaluation
in classAbstractConstraintComponent
- Returns:
- true if the constraint component should be evaluated, eg. if validation is needed.
-
getDefaultMessage
public java.util.List<Literal> getDefaultMessage()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-