Class MaxLengthConstraintComponent
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.MaxLengthConstraintComponent
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(ConstraintComponent o, IdentityHashMap<Shape, Shape> kvIdentityHashMap) inthashCode(IdentityHashMap<Shape, Boolean> identityHashMap) voidMethods inherited from class AbstractSimpleConstraintComponent
generateSparqlValidationQuery, generateTransactionalValidationPlan, getAllTargetsPlan, getId, getOptimalBulkValidationApproach, getPreferredValidationApproach, getTargetChain, setTargetChainModifier and TypeMethodDescriptiongenerateSparqlValidationQuery(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, boolean negatePlan, boolean negateChildren, ConstraintComponent.Scope scope) generateTransactionalValidationPlan(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope) getAllTargetsPlan(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, ValidationSettings validationSettings) 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.voidsetTargetChain(TargetChain targetChain) Methods inherited from class AbstractConstraintComponent
buildSparqlValidNodes_rsx_targetShape, equals, hashCode, requiresEvaluation, stringRepresentationOfValueModifier and TypeMethodDescriptionbuildSparqlValidNodes_rsx_targetShape(StatementMatcher.Variable<Value> subject, StatementMatcher.Variable<Value> object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) final booleanfinal inthashCode()booleanrequiresEvaluation(ConnectionsGroup connectionsGroup, ConstraintComponent.Scope scope, Resource[] dataGraph, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) stringRepresentationOfValue(Value value)
-
Constructor Details
-
MaxLengthConstraintComponent
public MaxLengthConstraintComponent(long maxLength)
-
-
Method Details
-
toModel
-
getConstraintComponent
- Specified by:
getConstraintComponentin interfaceConstraintComponent- Overrides:
getConstraintComponentin classAbstractSimpleConstraintComponent
-
deepClone
-
getDefaultMessage
-
equals
-
hashCode
-