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 org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.ConstraintComponent
ConstraintComponent.Scope
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
VALUES_INJECTION_POINT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) 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) Methods inherited from class org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.AbstractConstraintComponent
buildSparqlValidNodes_rsx_targetShape, generateSparqlValidationQuery, generateTransactionalValidationPlan, getAllTargetsPlan, getId, getOptimalBulkValidationApproach, getPreferredValidationApproach, getTargetChain, requiresEvaluation, setTargetChain, stringRepresentationOfValue, trim
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.sail.shacl.ast.constraintcomponents.ConstraintComponent
deepClone, getConstraintComponent, getDefaultMessage
Methods inherited from interface org.eclipse.rdf4j.sail.shacl.ast.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
-