Package io.openlineage.client
Class OpenLineage.DatasetTypeDatasetFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.DatasetTypeDatasetFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.DatasetTypeDatasetFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.DatasetTypeDatasetFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.DatasetTypeDatasetFacet>
builder class for DatasetTypeDatasetFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of DatasetTypeDatasetFacet from the fields set in the builderdatasetType
(String datasetType) add additional properties
-
Constructor Details
-
DatasetTypeDatasetFacetBuilder
public DatasetTypeDatasetFacetBuilder()
-
-
Method Details
-
datasetType
- Parameters:
datasetType
- Dataset type, for example: FILE|STREAM|MODEL|TABLE|VIEW.- Returns:
- this
-
subType
- Parameters:
subType
- Optional sub-type within the dataset type (e.g., BEST VALIDATION under MODEL CHECKPOINT).- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of DatasetTypeDatasetFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.DatasetTypeDatasetFacet>
- Returns:
- the constructed type
-