Class OpenLineageDataQualityAssertionsInputDataSetFacetAssertions
java.lang.Object
org.odpi.openmetadata.integrationservices.lineage.properties.OpenLineageDataQualityAssertionsInputDataSetFacetAssertions
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
ConstructorDescriptionDefault constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the type of assertion that the data set has been tested against.Return the name of the column that the data was located.int
hashCode()
Return hash code based on properties.boolean
Return whether the data passed the assertion test.void
setAssertion
(String assertion) Set up the type of assertion that the data set has been tested against.void
Set up the name of the column that the data was located.void
setSuccess
(boolean success) Set up whether the data passed the assertion test.toString()
Standard toString method.
-
Constructor Details
-
OpenLineageDataQualityAssertionsInputDataSetFacetAssertions
public OpenLineageDataQualityAssertionsInputDataSetFacetAssertions()Default constructor
-
-
Method Details
-
getAssertion
Return the type of assertion that the data set has been tested against.- Returns:
- string name
-
setAssertion
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
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
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
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-