Class LanguageInConstraintComponent
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.SimpleAbstractConstraintComponent
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.LanguageInConstraintComponent
- All Implemented Interfaces:
ConstraintComponent
,Exportable
,TargetChainInterface
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.ConstraintComponent
ConstraintComponent.Scope
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.SimpleAbstractConstraintComponent
targetChain
Fields inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
VALUES_INJECTION_POINT
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
LanguageInConstraintComponent
(LanguageInConstraintComponent languageInConstraintComponent) LanguageInConstraintComponent
(ShapeSource shapeSource, Resource languageIn) -
Method Summary
Modifier and TypeMethodDescriptionboolean
(package private) Function
<PlanNode, FilterPlanNode> (package private) String
getSparqlFilterExpression
(StatementMatcher.Variable<Value> variable, boolean negated) Simple constraints need only implement this method to support SPARQL based validation.int
hashCode()
void
toString()
Methods inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.SimpleAbstractConstraintComponent
generateSparqlValidationQuery, generateTransactionalValidationPlan, getAllTargetsPlan, getId, getOptimalBulkValidationApproach, getPreferredValidationApproach, getTargetChain, literalToString, setTargetChain
Methods inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
buildSparqlValidNodes_rsx_targetShape, requiresEvaluation, stringRepresentationOfValue, trim
-
Field Details
-
languageIn
-
languageRanges
-
lowerCaseLanguageIn
-
-
Constructor Details
-
LanguageInConstraintComponent
-
LanguageInConstraintComponent
-
-
Method Details
-
toModel
-
getSparqlFilterExpression
Description copied from class:SimpleAbstractConstraintComponent
Simple 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:
getSparqlFilterExpression
in classSimpleAbstractConstraintComponent
- Parameters:
variable
-negated
-- Returns:
- a string that is the body of a SPARQL filter
-
getConstraintComponent
- Specified by:
getConstraintComponent
in interfaceConstraintComponent
- Overrides:
getConstraintComponent
in classSimpleAbstractConstraintComponent
-
deepClone
-
getFilterAttacher
Function<PlanNode,FilterPlanNode> getFilterAttacher()- Specified by:
getFilterAttacher
in classSimpleAbstractConstraintComponent
-
toString
-
getDefaultMessage
-
equals
-
hashCode
public int hashCode()
-