Package io.openlineage.client
Class OpenLineage.DataQualityAssertionsDatasetFacetAssertions
java.lang.Object
io.openlineage.client.OpenLineage.DataQualityAssertionsDatasetFacetAssertions
- Enclosing class:
- OpenLineage
model class for DataQualityAssertionsDatasetFacetAssertions
-
Method Details
-
getAssertion
- Returns:
- Classification of the test, e.g. 'not_null', 'unique', 'row_count', 'freshness', 'custom_sql'.
-
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
- 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
- Returns:
- The configured severity level of the assertion. Common values are 'error' (test failure blocks pipeline) or 'warn' (test failure produces warning only).
-
getName
- Returns:
- Name identifying the test.
-
getDescription
- Returns:
- Human-readable description of what the assertion checks.
-
getExpected
- Returns:
- The expected value or threshold for the assertion, serialized as a string.
-
getActual
- Returns:
- The actual value observed during the assertion, serialized as a string.
-
getContent
- Returns:
- The assertion body, e.g. a SQL query or expression.
-
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
-
hashCode
public int hashCode()
-