Class InConstraintComponent
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractSimpleConstraintComponent
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.InConstraintComponent
- All Implemented Interfaces:
ConstraintComponent, Exportable, TargetChainInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface ConstraintComponent
ConstraintComponent.Scope -
Field Summary
FieldsFields inherited from class AbstractSimpleConstraintComponent
targetChainFields inherited from class AbstractConstraintComponent
VALUES_INJECTION_POINT -
Constructor Summary
ConstructorsConstructorDescriptionInConstraintComponent(InConstraintComponent inConstraintComponent) InConstraintComponent(ShapeSource shapeSource, Resource in) -
Method Summary
Modifier and TypeMethodDescriptionboolean(package private) Function<PlanNode, FilterPlanNode> private String(package private) StringgetSparqlFilterExpression(StatementMatcher.Variable<Value> variable, boolean negated) Simple constraints need only implement this method to support SPARQL based validation.inthashCode()voidMethods inherited from class AbstractSimpleConstraintComponent
generateSparqlValidationQuery, generateTransactionalValidationPlan, getAllTargetsPlan, getId, getOptimalBulkValidationApproach, getPreferredValidationApproach, getTargetChain, literalToString, setTargetChainMethods inherited from class AbstractConstraintComponent
buildSparqlValidNodes_rsx_targetShape, getAllTargetsIncludingThoseAddedByPath, requiresEvaluation, stringRepresentationOfValue, trim
-
Field Details
-
in
-
-
Constructor Details
-
InConstraintComponent
-
InConstraintComponent
-
-
Method Details
-
toModel
-
getConstraintComponent
- Specified by:
getConstraintComponentin interfaceConstraintComponent- Overrides:
getConstraintComponentin classAbstractSimpleConstraintComponent
-
deepClone
-
getSparqlFilterExpression
Description copied from class:AbstractSimpleConstraintComponentSimple constraints need only implement this method to support SPARQL based validation. The returned filter body should evaluate to true for values that fail validation, unless negated==true. If the filter condition throws an error (a SPARQL runtime error, not Java error) then the error will be caught and coalesced to `true`.- Specified by:
getSparqlFilterExpressionin classAbstractSimpleConstraintComponent- Parameters:
variable-negated-- Returns:
- a string that is the body of a SPARQL filter
-
getInSetAsString
-
getFilterAttacher
Function<PlanNode, FilterPlanNode> getFilterAttacher()- Specified by:
getFilterAttacherin classAbstractSimpleConstraintComponent
-
getDefaultMessage
-
equals
-
hashCode
-