Class ValidationTuple
java.lang.Object
org.eclipse.rdf4j.sail.shacl.ast.planNodes.ValidationTuple
-
Constructor Summary
ConstructorsConstructorDescriptionValidationTuple(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[] contexts) 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) intintcompareFullTarget(ValidationTuple other) intcompareValue(ValidationTuple other) booleanResource[]intgetFullChainSize(boolean includePropertyShapeValue) getScope()getTargetChain(boolean includePropertyShapeValues) This is only the target part.getValue()inthashCode()booleanhasValue()join(ValidationTuple right) pop()booleansameTargetAs(ValidationTuple other) shiftToPropertyShapeScope(Value value) 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[] contexts) -
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
-
shiftToPropertyShapeScope
-
compareValue
-
trimToTarget
-
pop
-
getCompressedTuples
-
equals
-
hashCode
public int hashCode() -
join
-
getContexts
-