Class OpenLineageDataQualityAssertionsInputDataSetFacet
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageInputDataSetInputFacet
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageDataQualityAssertionsInputDataSetFacet
public class OpenLineageDataQualityAssertionsInputDataSetFacet
extends OpenLineageInputDataSetInputFacet
This class represents the data quality assertions facet in the open lineage standard spec
https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the list of assertions that the data set has been tested against.int
hashCode()
Return hash code based on properties.void
Set up the list of assertions that the data set has been tested against.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
Constructor Details
-
OpenLineageDataQualityAssertionsInputDataSetFacet
public OpenLineageDataQualityAssertionsInputDataSetFacet()Default constructor
-
-
Method Details
-
getAssertions
Return the list of assertions that the data set has been tested against.- Returns:
- list of assertions
-
setAssertions
public void setAssertions(List<OpenLineageDataQualityAssertionsInputDataSetFacetAssertions> assertions) Set up the list of assertions that the data set has been tested against.- Parameters:
assertions
- list of assertions
-
toString
Standard toString method.- Overrides:
toString
in 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:
equals
in classOpenLineageFacet
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classOpenLineageFacet
- Returns:
- int
-