Class OpenLineageDataQualityAssertionsInputDataSetFacetAssertions
- java.lang.Object
-
- org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageDataQualityAssertionsInputDataSetFacetAssertions
-
public class OpenLineageDataQualityAssertionsInputDataSetFacetAssertions extends Object
This class represents a single data quality assertion in the open lineage standard spec https://github.com/OpenLineage/OpenLineage/blob/main/spec/OpenLineage.json.
-
-
Constructor Summary
Constructors Constructor Description OpenLineageDataQualityAssertionsInputDataSetFacetAssertions()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.StringgetAssertion()Return the type of assertion that the data set has been tested against.StringgetColumn()Return the name of the column that the data was located.inthashCode()Return hash code based on properties.booleanisSuccess()Return whether the data passed the assertion test.voidsetAssertion(String assertion)Set up the type of assertion that the data set has been tested against.voidsetColumn(String column)Set up the name of the column that the data was located.voidsetSuccess(boolean success)Set up whether the data passed the assertion test.StringtoString()Standard toString method.
-
-
-
Method Detail
-
getAssertion
public String getAssertion()
Return the type of assertion that the data set has been tested against.- Returns:
- string name
-
setAssertion
public void setAssertion(String assertion)
Set up the type of assertion that the data set has been tested against.- Parameters:
assertion- string name
-
isSuccess
public boolean isSuccess()
Return whether the data passed the assertion test.- Returns:
- boolean flag
-
setSuccess
public void setSuccess(boolean success)
Set up whether the data passed the assertion test.- Parameters:
success- boolean flag
-
getColumn
public String getColumn()
Return the name of the column that the data was located. This name should match one of the column names in the schema facet.- Returns:
- string name
-
setColumn
public void setColumn(String column)
Set up the name of the column that the data was located. This name should match one of the column names in the schema facet.- Parameters:
column- string name
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-