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
Constructors -
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: TABLE|VIEW|FILE|TOPIC|STREAM|MODEL|JOB_OUTPUT.- Returns:
- this
-
subType
- Parameters:
subType- Optional sub-type within the dataset type (e.g., MATERIALIZED, EXTERNAL, TEMPORARY).- 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:
buildin interfaceOpenLineage.Builder<OpenLineage.DatasetTypeDatasetFacet>- Returns:
- the constructed type
-