Class DashHasValueInConstraintComponent
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.DashHasValueInConstraintComponent
- All Implemented Interfaces:
ConstraintComponent, Exportable, TargetChainInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface ConstraintComponent
ConstraintComponent.Scope -
Field Summary
Fields inherited from class AbstractConstraintComponent
VALUES_INJECTION_POINT -
Constructor Summary
ConstructorsConstructorDescriptionDashHasValueInConstraintComponent(DashHasValueInConstraintComponent dashHasValueInConstraintComponent) DashHasValueInConstraintComponent(ShapeSource shapeSource, Resource hasValueIn) -
Method Summary
Modifier and TypeMethodDescriptionbuildSparqlValidNodes_rsx_targetShape(StatementMatcher.Variable<Value> subject, StatementMatcher.Variable<Value> object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) booleanequals(ConstraintComponent o, IdentityHashMap<Shape, Shape> kvIdentityHashMap) generateTransactionalValidationPlan(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope) getAllTargetsPlan(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, ValidationSettings validationSettings) inthashCode(IdentityHashMap<Shape, Boolean> identityHashMap) voidMethods inherited from class AbstractConstraintComponent
equals, generateSparqlValidationQuery, getId, getOptimalBulkValidationApproach, getPreferredValidationApproach, getTargetChain, hashCode, requiresEvaluation, setTargetChain, stringRepresentationOfValueModifier and TypeMethodDescriptionfinal booleangenerateSparqlValidationQuery(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, boolean negatePlan, boolean negateChildren, ConstraintComponent.Scope scope) getId()Should return the fastest validation approach for bulk validation.getPreferredValidationApproach(ConnectionsGroup connectionsGroup) A constraint component should decide which validation approach is going to be the optimal performance wise based on the state of the transaction and base sail.final inthashCode()booleanrequiresEvaluation(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) voidsetTargetChain(TargetChain targetChain) stringRepresentationOfValue(Value value)
-
Constructor Details
-
DashHasValueInConstraintComponent
-
DashHasValueInConstraintComponent
public DashHasValueInConstraintComponent(DashHasValueInConstraintComponent dashHasValueInConstraintComponent)
-
-
Method Details
-
toModel
-
getConstraintComponent
-
deepClone
-
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, Resource[] dataGraph, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, ValidationSettings validationSettings) - Specified by:
getAllTargetsPlanin interfaceConstraintComponent- Overrides:
getAllTargetsPlanin classAbstractConstraintComponent
-
buildSparqlValidNodes_rsx_targetShape
public SparqlFragment buildSparqlValidNodes_rsx_targetShape(StatementMatcher.Variable<Value> subject, StatementMatcher.Variable<Value> object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) - Specified by:
buildSparqlValidNodes_rsx_targetShapein interfaceConstraintComponent- Overrides:
buildSparqlValidNodes_rsx_targetShapein classAbstractConstraintComponent
-
getDefaultMessage
-
equals
-
hashCode
-