Class SparqlConstraintComponent
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.SparqlConstraintComponent
- All Implemented Interfaces:
ConstraintComponent, Exportable, TargetChainInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface ConstraintComponent
ConstraintComponent.Scope -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Booleanprivate Stringprivate final Modelbooleanprivate Stringprivate final ShapeFields inherited from class AbstractConstraintComponent
VALUES_INJECTION_POINT -
Constructor Summary
ConstructorsConstructorDescriptionSparqlConstraintComponent(Resource id, Shape shape, boolean produceValidationReports, String select, String originalSelect, List<Literal> message, Boolean deactivated, Set<Namespace> namespaces, Model prefixes) SparqlConstraintComponent(Resource id, ShapeSource shapeSource, Shape shape) -
Method Summary
Modifier and TypeMethodDescriptionbooleangenerateSparqlValidationQuery(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, boolean negatePlan, boolean negateChildren, ConstraintComponent.Scope scope) generateTransactionalValidationPlan(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope) getAllTargetsPlan(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, ValidationSettings validationSettings) Should return the fastest validation approach for bulk validation.private PlanNodegetPlanNodeForOverrideTargetNode(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, EffectiveTarget effectiveTarget, Optional<Path> path) inthashCode()void
-
Field Details
-
shape
-
produceValidationReports
public boolean produceValidationReports -
select
-
originalSelect
-
message
-
deactivated
-
namespaces
-
prefixes
-
-
Constructor Details
-
SparqlConstraintComponent
-
SparqlConstraintComponent
-
-
Method Details
-
toModel
-
getConstraintComponent
-
generateTransactionalValidationPlan
public PlanNode generateTransactionalValidationPlan(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope) - Specified by:
generateTransactionalValidationPlanin interfaceConstraintComponent- Overrides:
generateTransactionalValidationPlanin classAbstractConstraintComponent
-
getPlanNodeForOverrideTargetNode
private PlanNode getPlanNodeForOverrideTargetNode(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, EffectiveTarget effectiveTarget, Optional<Path> path) -
getAllTargetsPlan
public PlanNode getAllTargetsPlan(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, ValidationSettings validationSettings) - Specified by:
getAllTargetsPlanin interfaceConstraintComponent- Overrides:
getAllTargetsPlanin classAbstractConstraintComponent
-
deepClone
-
generateSparqlValidationQuery
public ValidationQuery generateSparqlValidationQuery(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, boolean negatePlan, boolean negateChildren, ConstraintComponent.Scope scope) - Specified by:
generateSparqlValidationQueryin interfaceConstraintComponent- Overrides:
generateSparqlValidationQueryin classAbstractConstraintComponent
-
getOptimalBulkValidationApproach
Description copied from interface:ConstraintComponentShould return the fastest validation approach for bulk validation. When aggregating multiple constraint components the most compatible should be chosen.- Specified by:
getOptimalBulkValidationApproachin interfaceConstraintComponent- Overrides:
getOptimalBulkValidationApproachin classAbstractConstraintComponent
-
getDefaultMessage
-
equals
-
hashCode
-