Class OpenLineage.DataQualityAssertionsDatasetFacetAssertions

java.lang.Object
io.openlineage.client.OpenLineage.DataQualityAssertionsDatasetFacetAssertions
Enclosing class:
OpenLineage

public static final class OpenLineage.DataQualityAssertionsDatasetFacetAssertions extends Object
model class for DataQualityAssertionsDatasetFacetAssertions
  • Method Details

    • getAssertion

      public String getAssertion()
      Returns:
      Classification of the test, e.g. 'not_null', 'unique', 'row_count', 'freshness', 'custom_sql'.
    • getSuccess

      public Boolean getSuccess()
      Returns:
      Whether the test found issues: 'true' (no issues found), 'false' (issues found). Independent of severity - a test can fail without blocking the pipeline when severity is 'warn'.
    • getColumn

      public String getColumn()
      Returns:
      Column that test refers to. It should match the name provided in SchemaDatasetFacet. If column field is empty, then test refers to whole dataset.
    • getSeverity

      public String getSeverity()
      Returns:
      The configured severity level of the assertion. Common values are 'error' (test failure blocks pipeline) or 'warn' (test failure produces warning only).
    • getName

      public String getName()
      Returns:
      Name identifying the test.
    • getDescription

      public String getDescription()
      Returns:
      Human-readable description of what the assertion checks.
    • getExpected

      public String getExpected()
      Returns:
      The expected value or threshold for the assertion, serialized as a string.
    • getActual

      public String getActual()
      Returns:
      The actual value observed during the assertion, serialized as a string.
    • getContent

      public String getContent()
      Returns:
      The assertion body, e.g. a SQL query or expression.
    • getContentType

      public String getContentType()
      Returns:
      The format of the content field, allowing consumers to interpret or filter assertion content. Common values include 'sql', 'json', 'expression'.
    • getParams

      Returns:
      Arbitrary key-value pairs for assertion-specific inputs.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object