Class OpenLineageDataQualityAssertionsInputDataSetFacetAssertions


  • public class OpenLineageDataQualityAssertionsInputDataSetFacetAssertions
    extends java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      java.lang.String getAssertion()
      Return the type of assertion that the data set has been tested against.
      java.lang.String getColumn()
      Return the name of the column that the data was located.
      int hashCode()
      Return hash code based on properties.
      boolean isSuccess()
      Return whether the data passed the assertion test.
      void setAssertion​(java.lang.String assertion)
      Set up the type of assertion that the data set has been tested against.
      void setColumn​(java.lang.String column)
      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.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OpenLineageDataQualityAssertionsInputDataSetFacetAssertions

        public OpenLineageDataQualityAssertionsInputDataSetFacetAssertions()
        Default constructor
    • Method Detail

      • getAssertion

        public java.lang.String getAssertion()
        Return the type of assertion that the data set has been tested against.
        Returns:
        string name
      • setAssertion

        public void setAssertion​(java.lang.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 java.lang.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​(java.lang.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 java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

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