Class NodeKindConstraintComponent
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.NodeKindConstraintComponent
- All Implemented Interfaces:
ConstraintComponent,Exportable,TargetChainInterface
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.ConstraintComponent
ConstraintComponent.Scope -
Field Summary
FieldsFields inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractSimpleConstraintComponent
targetChainFields inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
VALUES_INJECTION_POINT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean(package private) Function<PlanNode, FilterPlanNode> (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 org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractSimpleConstraintComponent
generateSparqlValidationQuery, generateTransactionalValidationPlan, getAllTargetsPlan, getId, getOptimalBulkValidationApproach, getPreferredValidationApproach, getTargetChain, literalToString, setTargetChainMethods inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
buildSparqlValidNodes_rsx_targetShape, getAllTargetsIncludingThoseAddedByPath, requiresEvaluation, stringRepresentationOfValue, trim
-
Field Details
-
nodeKind
NodeKindConstraintComponent.NodeKind nodeKind
-
-
Constructor Details
-
NodeKindConstraintComponent
-
-
Method Details
-
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
-
toModel
-
getConstraintComponent
- Specified by:
getConstraintComponentin interfaceConstraintComponent- Overrides:
getConstraintComponentin classAbstractSimpleConstraintComponent
-
deepClone
-
getFilterAttacher
Function<PlanNode,FilterPlanNode> getFilterAttacher()- Specified by:
getFilterAttacherin classAbstractSimpleConstraintComponent
-
getDefaultMessage
-
equals
-
hashCode
public int hashCode()
-