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
ConstructorsConstructorDescriptionLazyValidationReport(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:
asModelin classValidationReport
-
asModel
- Overrides:
asModelin classValidationReport
-
conforms
public boolean conforms()- Overrides:
conformsin classValidationReport- Returns:
- false if the changes violated a SHACL Shape
-
getValidationResult
- Overrides:
getValidationResultin classValidationReport- Returns:
- list of ValidationResult with more information about each violation
-
toString
- Overrides:
toStringin classValidationReport
-
isTruncated
public boolean isTruncated()Description copied from class:ValidationReportUsers 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:
isTruncatedin classValidationReport- Returns:
- true if this SHACL validation report has been truncated.
-