Class ValidationTuple
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.ast.planNodes.ValidationTuple
-
public class ValidationTuple extends Object
-
-
Constructor Summary
-
Method Summary
-
-
-
Constructor Detail
-
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
public ValidationTuple(ValidationTuple tuple, Set<ValidationTuple> compressedTuples)
-
-
Method Detail
-
sameTargetAs
public boolean sameTargetAs(ValidationTuple other)
-
hasValue
public boolean hasValue()
-
getValue
public Value getValue()
-
getScope
public ConstraintComponent.Scope getScope()
-
compareActiveTarget
public int compareActiveTarget(ValidationTuple other)
-
compareFullTarget
public int compareFullTarget(ValidationTuple other)
-
getValidationResult
public List<ValidationResult> getValidationResult()
-
addValidationResult
public ValidationTuple addValidationResult(Function<ValidationTuple,ValidationResult> validationResult)
-
getActiveTarget
public Value getActiveTarget()
-
shiftToNodeShape
public List<ValidationTuple> shiftToNodeShape()
-
shiftToPropertyShapeScope
public List<ValidationTuple> shiftToPropertyShapeScope()
-
getFullChainSize
public int getFullChainSize(boolean includePropertyShapeValue)
-
getTargetChain
public List<Value> getTargetChain(boolean includePropertyShapeValues)
This is only the target part. For property shape scope it will not include the value.- Parameters:
includePropertyShapeValues
-
-
setValue
public ValidationTuple setValue(Value value)
-
compareValue
public int compareValue(ValidationTuple other)
-
trimToTarget
public ValidationTuple trimToTarget()
-
pop
public List<ValidationTuple> pop()
-
getCompressedTuples
public Set<ValidationTuple> getCompressedTuples()
-
join
public ValidationTuple join(ValidationTuple right)
-
getContexts
public Resource[] getContexts()
-
-