Class 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 Detail

      • OpenLineageDataQualityAssertionsInputDataSetFacetAssertions

        public OpenLineageDataQualityAssertionsInputDataSetFacetAssertions()
        Default constructor
    • 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.
        Overrides:
        toString in class Object
        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:
        equals in class Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Return has code based on properties.
        Overrides:
        hashCode in class Object
        Returns:
        int