Class ValidationTuple
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.planNodes.ValidationTuple
-
Constructor Summary
ConstructorDescriptionValidationTuple
(List<Value> chain, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(Value[] chain, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(Value a, Value c, ConstraintComponent.Scope scope, boolean hasValue, Resource context) ValidationTuple
(Value a, Value c, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(Value subject, ConstraintComponent.Scope scope, boolean hasValue, Resource context) ValidationTuple
(Value subject, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(BindingSet bindingSet, String[] variables, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(BindingSet bindingSet, List<String> variables, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) ValidationTuple
(ValidationTuple tuple, Set<ValidationTuple> compressedTuples) -
Method Summary
Modifier and TypeMethodDescriptionaddValidationResult
(Function<ValidationTuple, ValidationResult> validationResult) int
int
compareFullTarget
(ValidationTuple other) int
compareValue
(ValidationTuple other) boolean
Resource[]
int
getFullChainSize
(boolean includePropertyShapeValue) getScope()
getTargetChain
(boolean includePropertyShapeValues) This is only the target part.getValue()
int
hashCode()
boolean
hasValue()
join
(ValidationTuple right) pop()
boolean
sameTargetAs
(ValidationTuple other) toString()
-
Constructor Details
-
ValidationTuple
public ValidationTuple(BindingSet bindingSet, String[] variables, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) -
ValidationTuple
public ValidationTuple(BindingSet bindingSet, List<String> variables, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) -
ValidationTuple
public ValidationTuple(List<Value> chain, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) -
ValidationTuple
public ValidationTuple(Value[] chain, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) -
ValidationTuple
public ValidationTuple(Value a, Value c, ConstraintComponent.Scope scope, boolean hasValue, Resource context) -
ValidationTuple
public ValidationTuple(Value a, Value c, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) -
ValidationTuple
public ValidationTuple(Value subject, ConstraintComponent.Scope scope, boolean hasValue, Resource context) -
ValidationTuple
public ValidationTuple(Value subject, ConstraintComponent.Scope scope, boolean hasValue, Resource[] contexts) -
ValidationTuple
-
-
Method Details
-
sameTargetAs
-
hasValue
public boolean hasValue() -
getValue
-
getScope
-
compareActiveTarget
-
compareFullTarget
-
getValidationResult
-
addValidationResult
public ValidationTuple addValidationResult(Function<ValidationTuple, ValidationResult> validationResult) -
getActiveTarget
-
toString
-
shiftToNodeShape
-
shiftToPropertyShapeScope
-
getFullChainSize
public int getFullChainSize(boolean includePropertyShapeValue) -
getTargetChain
This is only the target part. For property shape scope it will not include the value.- Parameters:
includePropertyShapeValues
-
-
setValue
-
compareValue
-
trimToTarget
-
pop
-
getCompressedTuples
-
equals
-
hashCode
public int hashCode() -
join
-
getContexts
-