Package io.openlineage.client
Class OpenLineage.InputDatasetInputFacetsBuilder
java.lang.Object
io.openlineage.client.OpenLineage.InputDatasetInputFacetsBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.InputDatasetInputFacets>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.InputDatasetInputFacetsBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.InputDatasetInputFacets>
builder class for InputDatasetInputFacets
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of InputDatasetInputFacets from the fields set in the builderdataQualityAssertions
(OpenLineage.DataQualityAssertionsDatasetFacet dataQualityAssertions) dataQualityMetrics
(OpenLineage.DataQualityMetricsInputDatasetFacet dataQualityMetrics) put
(String key, OpenLineage.InputDatasetFacet value) add additional properties
-
Constructor Details
-
InputDatasetInputFacetsBuilder
public InputDatasetInputFacetsBuilder()
-
-
Method Details
-
dataQualityAssertions
public OpenLineage.InputDatasetInputFacetsBuilder dataQualityAssertions(OpenLineage.DataQualityAssertionsDatasetFacet dataQualityAssertions) - Parameters:
dataQualityAssertions
- the dataQualityAssertions- Returns:
- this
-
dataQualityMetrics
public OpenLineage.InputDatasetInputFacetsBuilder dataQualityMetrics(OpenLineage.DataQualityMetricsInputDatasetFacet dataQualityMetrics) - Parameters:
dataQualityMetrics
- the dataQualityMetrics- Returns:
- this
-
put
public OpenLineage.InputDatasetInputFacetsBuilder put(String key, OpenLineage.InputDatasetFacet value) add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of InputDatasetInputFacets from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.InputDatasetInputFacets>
- Returns:
- the constructed type
-