Class LogicalOperatorConstraintComponent
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.LogicalOperatorConstraintComponent
- All Implemented Interfaces:
ConstraintComponent, Exportable, TargetChainInterface
- Direct Known Subclasses:
AndConstraintComponent, OrConstraintComponent
-
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 TypeMethodDescription(package private) static SparqlFragmentbuildSparqlValidNodes_rsx_targetShape_inner(StatementMatcher.Variable subject, StatementMatcher.Variable object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, List<Shape> shapes, TargetChain targetChain, Function<List<SparqlFragment>, SparqlFragment> bgpCombiner, Function<List<SparqlFragment>, SparqlFragment> filterCombiner) Methods inherited from class AbstractConstraintComponent
buildSparqlValidNodes_rsx_targetShape, generateSparqlValidationQuery, generateTransactionalValidationPlan, getAllTargetsIncludingThoseAddedByPath, getAllTargetsPlan, getId, getOptimalBulkValidationApproach, getPreferredValidationApproach, getTargetChain, requiresEvaluation, setTargetChain, stringRepresentationOfValue, trimMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConstraintComponent
deepClone, getConstraintComponent, getDefaultMessageMethods inherited from interface Exportable
toModel
-
Constructor Details
-
LogicalOperatorConstraintComponent
-
-
Method Details
-
buildSparqlValidNodes_rsx_targetShape_inner
static SparqlFragment buildSparqlValidNodes_rsx_targetShape_inner(StatementMatcher.Variable subject, StatementMatcher.Variable object, RdfsSubClassOfReasoner rdfsSubClassOfReasoner, ConstraintComponent.Scope scope, StatementMatcher.StableRandomVariableProvider stableRandomVariableProvider, List<Shape> shapes, TargetChain targetChain, Function<List<SparqlFragment>, SparqlFragment> bgpCombiner, Function<List<SparqlFragment>, SparqlFragment> filterCombiner) - Parameters:
subject- the subject from buildSparqlValidNodes_rsx_targetShapeobject- the object from buildSparqlValidNodes_rsx_targetShaperdfsSubClassOfReasoner- the rdfsSubClassOfReasoner from buildSparqlValidNodes_rsx_targetShapescope- the scope from buildSparqlValidNodes_rsx_targetShapestableRandomVariableProvider-shapes- the shapes from from the logical constraint (eg. and, or)targetChain- the current targetChainbgpCombiner- the SparqlFragment combiner for bgp or union fragments (eg. SparqlFragment::join for AND; SparqlFragment::union for OR)filterCombiner- the SparqlFragment combiner for filter condition fragments (eg. SparqlFragment::and for AND; SparqlFragment::or for OR)- Returns:
- the new SparqlFragment that handles sh:and or sh:or for the shapes provided
-