Class NodeShape
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.Shape
org.eclipse.rdf4j.sail.shacl.ast.NodeShape
- All Implemented Interfaces:
ConstraintComponent, Exportable, Identifiable, TargetChainInterface
-
Nested Class Summary
Nested classes/interfaces inherited from class Shape
Shape.Factory, Shape.ParseSettingsNested classes/interfaces inherited from interface ConstraintComponent
ConstraintComponent.Scope -
Field Summary
Fields inherited from class Shape
produceValidationReports -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildSparqlValidNodes_rsx_targetShape(StatementMatcher.Variable<Value> subject, StatementMatcher.Variable<Value> object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) For rsx:targetShapegenerateSparqlValidationQuery(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) static NodeShapegetInstance(ShaclProperties properties, ShapeSource shapeSource, Shape.ParseSettings parseSettings, Cache cache) 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.voidpopulate(ShaclProperties properties, ShapeSource connection, Shape.ParseSettings parseSettings, Cache cache) protected NodeShapevoidMethods inherited from class Shape
equals, generatePlans, getContexts, getDefaultMessage, getId, getMessage, getOptimalBulkValidationApproach, getSeverity, getTargetChain, hashCode, isDeactivated, requiresEvaluation, setTargetChain, toModel, toString
-
Constructor Details
-
NodeShape
public NodeShape() -
NodeShape
-
-
Method Details
-
getInstance
public static NodeShape getInstance(ShaclProperties properties, ShapeSource shapeSource, Shape.ParseSettings parseSettings, Cache cache) -
populate
public void populate(ShaclProperties properties, ShapeSource connection, Shape.ParseSettings parseSettings, Cache cache) -
shallowClone
- Specified by:
shallowClonein classShape
-
toModel
-
generateSparqlValidationQuery
public ValidationQuery generateSparqlValidationQuery(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, boolean negatePlan, boolean negateChildren, ConstraintComponent.Scope scope) -
generateTransactionalValidationPlan
public PlanNode generateTransactionalValidationPlan(ConnectionsGroup connectionsGroup, ValidationSettings validationSettings, PlanNodeProvider overrideTargetNode, ConstraintComponent.Scope scope) -
getPreferredValidationApproach
Description copied from interface:ConstraintComponentA 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. -
getConstraintComponent
- Specified by:
getConstraintComponentin interfaceConstraintComponent- Overrides:
getConstraintComponentin classShape
-
getAllTargetsPlan
public PlanNode getAllTargetsPlan(ConnectionsGroup connectionsGroup, Resource[] dataGraph, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, ValidationSettings validationSettings) -
deepClone
-
buildSparqlValidNodes_rsx_targetShape
public SparqlFragment buildSparqlValidNodes_rsx_targetShape(StatementMatcher.Variable<Value> subject, StatementMatcher.Variable<Value> object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider) Description copied from class:ShapeFor rsx:targetShape- Specified by:
buildSparqlValidNodes_rsx_targetShapein interfaceConstraintComponent- Overrides:
buildSparqlValidNodes_rsx_targetShapein classShape
-