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 Object
implements OpenLineage.Builder<OpenLineage.DataQualityAssertionsDatasetFacetAssertions>
builder class for DataQualityAssertionsDatasetFacetAssertions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of DataQualityAssertionsDatasetFacetAssertions from the fields set in the builder
-
Constructor Details
-
DataQualityAssertionsDatasetFacetAssertionsBuilder
public DataQualityAssertionsDatasetFacetAssertionsBuilder()
-
-
Method Details
-
assertion
- Parameters:
assertion
- Type of expectation test that dataset is subjected to- Returns:
- this
-
success
- Parameters:
success
- the success- Returns:
- this
-
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
build an instance of DataQualityAssertionsDatasetFacetAssertions from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.DataQualityAssertionsDatasetFacetAssertions>
- Returns:
- the constructed type
-