Class OpenLineageDataQualityAssertionsInputDataSetFacet
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageInputDataSetInputFacet
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataQualityAssertionsInputDataSetFacet
public class OpenLineageDataQualityAssertionsInputDataSetFacet
extends OpenLineageInputDataSetInputFacet
This class represents the dataQualityAssertions input dataset facet. It captures the results of data quality assertions evaluated against the input dataset.
It follows the OpenLineage facet spec https://openlineage.io/spec/facets/1-1-0/DataQualityAssertionsDatasetFacet.json#/$defs/DataQualityAssertionsDatasetFacet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the assertions and their results.inthashCode()Return hash code based on properties.voidSet up the assertions and their results.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties, setAdditionalProperty
-
Constructor Details
-
OpenLineageDataQualityAssertionsInputDataSetFacet
public OpenLineageDataQualityAssertionsInputDataSetFacet()Default constructor
-
-
Method Details
-
getAssertions
Return the assertions and their results.- Returns:
- list
-
setAssertions
public void setAssertions(List<OpenLineageDataQualityAssertionsInputDataSetFacetAssertions> assertions) Set up the assertions and their results.- Parameters:
assertions- list
-
toString
Standard toString method.- Overrides:
toStringin classOpenLineageInputDataSetInputFacet- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classOpenLineageFacet- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-