Class QualifiedMinCountConstraintComponent
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
-
- org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.QualifiedMinCountConstraintComponent
-
- All Implemented Interfaces:
ConstraintComponent,Exportable,TargetChainInterface
public class QualifiedMinCountConstraintComponent extends AbstractConstraintComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.ConstraintComponent
ConstraintComponent.Scope
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
VALUES_INJECTION_POINT
-
-
Constructor Summary
Constructors Constructor Description QualifiedMinCountConstraintComponent(org.eclipse.rdf4j.model.Resource id, ShapeSource shapeSource, Shape.ParseSettings parseSettings, Cache cache, Boolean qualifiedValueShapesDisjoint, Long qualifiedMinCount)QualifiedMinCountConstraintComponent(QualifiedMinCountConstraintComponent constraintComponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstraintComponentdeepClone()booleanequals(Object o)ValidationQuerygenerateSparqlValidationQuery(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, boolean negatePlan, boolean negateChildren, ConstraintComponent.Scope scope)PlanNodegenerateTransactionalValidationPlan(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope)PlanNodegetAllTargetsPlan(ConnectionsGroup connectionsGroup, org.eclipse.rdf4j.model.Resource[] dataGraph, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, ValidationSettings validationSettings)SourceConstraintComponentgetConstraintComponent()List<org.eclipse.rdf4j.model.Literal>getDefaultMessage()inthashCode()PlanNodenegated(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope)booleanrequiresEvaluation(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, org.eclipse.rdf4j.model.Resource[] dataGraph, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider)voidsetTargetChain(TargetChain targetChain)voidtoModel(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Model model, Set<org.eclipse.rdf4j.model.Resource> cycleDetection)-
Methods inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
buildSparqlValidNodes_rsx_targetShape, getId, getOptimalBulkValidationApproach, getPreferredValidationApproach, getTargetChain, stringRepresentationOfValue
-
-
-
-
Constructor Detail
-
QualifiedMinCountConstraintComponent
public QualifiedMinCountConstraintComponent(org.eclipse.rdf4j.model.Resource id, ShapeSource shapeSource, Shape.ParseSettings parseSettings, Cache cache, Boolean qualifiedValueShapesDisjoint, Long qualifiedMinCount)
-
QualifiedMinCountConstraintComponent
public QualifiedMinCountConstraintComponent(QualifiedMinCountConstraintComponent constraintComponent)
-
-
Method Detail
-
toModel
public void toModel(org.eclipse.rdf4j.model.Resource subject, org.eclipse.rdf4j.model.IRI predicate, org.eclipse.rdf4j.model.Model model, Set<org.eclipse.rdf4j.model.Resource> cycleDetection)
-
setTargetChain
public void setTargetChain(TargetChain targetChain)
- Specified by:
setTargetChainin interfaceTargetChainInterface- Overrides:
setTargetChainin classAbstractConstraintComponent
-
getConstraintComponent
public SourceConstraintComponent getConstraintComponent()
-
generateSparqlValidationQuery
public ValidationQuery generateSparqlValidationQuery(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, boolean negatePlan, boolean negateChildren, ConstraintComponent.Scope scope)
- Specified by:
generateSparqlValidationQueryin interfaceConstraintComponent- Overrides:
generateSparqlValidationQueryin classAbstractConstraintComponent
-
generateTransactionalValidationPlan
public PlanNode generateTransactionalValidationPlan(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope)
- Specified by:
generateTransactionalValidationPlanin interfaceConstraintComponent- Overrides:
generateTransactionalValidationPlanin classAbstractConstraintComponent
-
negated
public PlanNode negated(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope)
-
getAllTargetsPlan
public PlanNode getAllTargetsPlan(ConnectionsGroup connectionsGroup, org.eclipse.rdf4j.model.Resource[] dataGraph, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, ValidationSettings validationSettings)
- Specified by:
getAllTargetsPlanin interfaceConstraintComponent- Overrides:
getAllTargetsPlanin classAbstractConstraintComponent
-
deepClone
public ConstraintComponent deepClone()
-
requiresEvaluation
public boolean requiresEvaluation(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, org.eclipse.rdf4j.model.Resource[] dataGraph, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider)
- Specified by:
requiresEvaluationin interfaceConstraintComponent- Overrides:
requiresEvaluationin classAbstractConstraintComponent- Returns:
- true if the constraint component should be evaluated, eg. if validation is needed.
-
getDefaultMessage
public List<org.eclipse.rdf4j.model.Literal> getDefaultMessage()
-
-