Class LazyValidationReport
java.lang.Object
org.eclipse.rdf4j.sail.shacl.results.ValidationReport
org.eclipse.rdf4j.sail.shacl.results.lazy.LazyValidationReport
A ValidationReport that will defer calculating any ValidationResults until the user asks for them
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.sail.shacl.results.ValidationReport
conforms, id, truncated, validationResult
-
Constructor Summary
ConstructorDescriptionLazyValidationReport
(List<ValidationResultIterator> validationResultIterators, long limit) -
Method Summary
Methods inherited from class org.eclipse.rdf4j.sail.shacl.results.ValidationReport
addValidationResult, getId
-
Constructor Details
-
LazyValidationReport
-
-
Method Details
-
asModel
- Overrides:
asModel
in classValidationReport
-
asModel
- Overrides:
asModel
in classValidationReport
-
conforms
public boolean conforms()- Overrides:
conforms
in classValidationReport
- Returns:
- false if the changes violated a SHACL Shape
-
getValidationResult
- Overrides:
getValidationResult
in classValidationReport
- Returns:
- list of ValidationResult with more information about each violation
-
toString
- Overrides:
toString
in classValidationReport
-
isTruncated
public boolean isTruncated()Description copied from class:ValidationReport
Users can enable a limit for the number of validation results they want to accept. If the limit is reached the report will be marked as truncated.- Overrides:
isTruncated
in classValidationReport
- Returns:
- true if this SHACL validation report has been truncated.
-