Package io.openlineage.client
Class OpenLineage.DataQualityMetricsDatasetFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.DataQualityMetricsDatasetFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.DataQualityMetricsDatasetFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.DataQualityMetricsDatasetFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.DataQualityMetricsDatasetFacet>
builder class for DataQualityMetricsDatasetFacet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of DataQualityMetricsDatasetFacet from the fields set in the builderlastUpdated
(ZonedDateTime lastUpdated) add additional properties
-
Constructor Details
-
DataQualityMetricsDatasetFacetBuilder
public DataQualityMetricsDatasetFacetBuilder()
-
-
Method Details
-
rowCount
- Parameters:
rowCount
- The number of rows evaluated- Returns:
- this
-
bytes
- Parameters:
bytes
- The size in bytes- Returns:
- this
-
fileCount
- Parameters:
fileCount
- The number of files evaluated- Returns:
- this
-
lastUpdated
- Parameters:
lastUpdated
- The last time the dataset was changed- Returns:
- this
-
columnMetrics
public OpenLineage.DataQualityMetricsDatasetFacetBuilder columnMetrics(OpenLineage.DataQualityMetricsDatasetFacetColumnMetrics columnMetrics) - Parameters:
columnMetrics
- The property key is the column name- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of DataQualityMetricsDatasetFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.DataQualityMetricsDatasetFacet>
- Returns:
- the constructed type
-