Package io.openlineage.client
Class OpenLineage.DataQualityAssertionsDatasetFacetAssertionsBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.DataQualityAssertionsDatasetFacetAssertionsBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.DataQualityAssertionsDatasetFacetAssertions>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.DataQualityAssertionsDatasetFacetAssertionsBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.DataQualityAssertionsDatasetFacetAssertions>
-
-
Constructor Summary
Constructors Constructor Description DataQualityAssertionsDatasetFacetAssertionsBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.DataQualityAssertionsDatasetFacetAssertionsBuilder
assertion(java.lang.String assertion)
OpenLineage.DataQualityAssertionsDatasetFacetAssertions
build()
OpenLineage.DataQualityAssertionsDatasetFacetAssertionsBuilder
column(java.lang.String column)
OpenLineage.DataQualityAssertionsDatasetFacetAssertionsBuilder
success(java.lang.Boolean success)
-
-
-
Method Detail
-
assertion
public OpenLineage.DataQualityAssertionsDatasetFacetAssertionsBuilder assertion(java.lang.String assertion)
- Parameters:
assertion
- Type of expectation test that dataset is subjected to- Returns:
- this
-
success
public OpenLineage.DataQualityAssertionsDatasetFacetAssertionsBuilder success(java.lang.Boolean success)
- Parameters:
success
- the success- Returns:
- this
-
column
public OpenLineage.DataQualityAssertionsDatasetFacetAssertionsBuilder column(java.lang.String column)
- Parameters:
column
- Column that expectation is testing. It should match the name provided in SchemaDatasetFacet. If column field is empty, then expectation refers to whole dataset.- Returns:
- this
-
build
public OpenLineage.DataQualityAssertionsDatasetFacetAssertions build()
- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.DataQualityAssertionsDatasetFacetAssertions>
- Returns:
- the constructed type
-
-