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 Modifier and Type Field Description (package private) java.lang.LongqualifiedMinCount(package private) ShapequalifiedValueShape(package private) booleanqualifiedValueShapesDisjoint-
Fields inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
VALUES_INJECTION_POINT
-
-
Constructor Summary
Constructors Constructor Description QualifiedMinCountConstraintComponent(Resource id, ShapeSource shapeSource, Shape.ParseSettings parseSettings, Cache cache, java.lang.Boolean qualifiedValueShapesDisjoint, java.lang.Long qualifiedMinCount)QualifiedMinCountConstraintComponent(QualifiedMinCountConstraintComponent constraintComponent)
-
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
-
qualifiedValueShape
Shape qualifiedValueShape
-
qualifiedValueShapesDisjoint
boolean qualifiedValueShapesDisjoint
-
qualifiedMinCount
java.lang.Long qualifiedMinCount
-
-
Constructor Detail
-
QualifiedMinCountConstraintComponent
public QualifiedMinCountConstraintComponent(Resource id, ShapeSource shapeSource, Shape.ParseSettings parseSettings, Cache cache, java.lang.Boolean qualifiedValueShapesDisjoint, java.lang.Long qualifiedMinCount)
-
QualifiedMinCountConstraintComponent
public QualifiedMinCountConstraintComponent(QualifiedMinCountConstraintComponent constraintComponent)
-
-
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:
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, Resource[] dataGraph, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider)
- Specified by:
getAllTargetsPlanin interfaceConstraintComponent- Overrides:
getAllTargetsPlanin classAbstractConstraintComponent
-
deepClone
public ConstraintComponent deepClone()
-
requiresEvaluation
public boolean requiresEvaluation(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, 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 java.util.List<Literal> getDefaultMessage()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-