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
Constructors Constructor Description OpenLineageDataQualityAssertionsInputDataSetFacet()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.List<OpenLineageDataQualityAssertionsInputDataSetFacetAssertions>getAssertions()Return the list of assertions that the data set has been tested against.inthashCode()Return has code based on properties.voidsetAssertions(List<OpenLineageDataQualityAssertionsInputDataSetFacetAssertions> assertions)Set up the list of assertions that the data set has been tested against.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageFacet
get_producer, get_schemaURL, getAdditionalProperties, set_producer, set_schemaURL, setAdditionalProperties
-
-
-
-
Method Detail
-
getAssertions
public List<OpenLineageDataQualityAssertionsInputDataSetFacetAssertions> 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
public String toString()
Standard toString method.- Overrides:
toStringin classOpenLineageInputDataSetInputFacet- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
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 has code based on properties.- Overrides:
hashCodein classOpenLineageFacet- Returns:
- int
-
-