Class DisjointConstraintComponent
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
-
- org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.DisjointConstraintComponent
-
- All Implemented Interfaces:
CanProduceValidationReport,ConstraintComponent,Exportable,TargetChainInterface
public class DisjointConstraintComponent 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 DisjointConstraintComponent(org.eclipse.rdf4j.model.IRI predicate, Shape shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstraintComponentdeepClone()booleanequals(Object o)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()booleanproducesValidationReport()booleanrequiresEvaluation(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, org.eclipse.rdf4j.model.Resource[] dataGraph, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider)voidsetProducesValidationReport(boolean producesValidationReport)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, generateSparqlValidationQuery, getId, getOptimalBulkValidationApproach, getPreferredValidationApproach, getTargetChain, setTargetChain, stringRepresentationOfValue
-
-
-
-
Constructor Detail
-
DisjointConstraintComponent
public DisjointConstraintComponent(org.eclipse.rdf4j.model.IRI predicate, Shape shape)
-
-
Method Detail
-
getConstraintComponent
public SourceConstraintComponent getConstraintComponent()
-
deepClone
public ConstraintComponent deepClone()
-
getDefaultMessage
public List<org.eclipse.rdf4j.model.Literal> getDefaultMessage()
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
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)- Specified by:
toModelin interfaceExportable
-
generateTransactionalValidationPlan
public PlanNode generateTransactionalValidationPlan(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope)
- Specified by:
generateTransactionalValidationPlanin interfaceConstraintComponent- Overrides:
generateTransactionalValidationPlanin classAbstractConstraintComponent
-
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
-
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.
-
setProducesValidationReport
public void setProducesValidationReport(boolean producesValidationReport)
- Specified by:
setProducesValidationReportin interfaceCanProduceValidationReport
-
producesValidationReport
public boolean producesValidationReport()
- Specified by:
producesValidationReportin interfaceCanProduceValidationReport
-
-