Package io.openlineage.client
Class OpenLineage.DatasetFacetsBuilder
java.lang.Object
io.openlineage.client.OpenLineage.DatasetFacetsBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.DatasetFacets>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.DatasetFacetsBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.DatasetFacets>
builder class for DatasetFacets
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of DatasetFacets from the fields set in the buildercolumnLineage
(OpenLineage.ColumnLineageDatasetFacet columnLineage) dataSource
(OpenLineage.DatasourceDatasetFacet dataSource) documentation
(OpenLineage.DocumentationDatasetFacet documentation) lifecycleStateChange
(OpenLineage.LifecycleStateChangeDatasetFacet lifecycleStateChange) ownership
(OpenLineage.OwnershipDatasetFacet ownership) put
(String key, OpenLineage.DatasetFacet value) add additional propertiesschema
(OpenLineage.SchemaDatasetFacet schema) storage
(OpenLineage.StorageDatasetFacet storage) symlinks
(OpenLineage.SymlinksDatasetFacet symlinks)
-
Constructor Details
-
DatasetFacetsBuilder
public DatasetFacetsBuilder()
-
-
Method Details
-
documentation
public OpenLineage.DatasetFacetsBuilder documentation(OpenLineage.DocumentationDatasetFacet documentation) - Parameters:
documentation
- the documentation- Returns:
- this
-
dataSource
- Parameters:
dataSource
- the dataSource- Returns:
- this
-
version
- Parameters:
version
- the version- Returns:
- this
-
schema
- Parameters:
schema
- the schema- Returns:
- this
-
ownership
- Parameters:
ownership
- the ownership- Returns:
- this
-
storage
- Parameters:
storage
- the storage- Returns:
- this
-
columnLineage
public OpenLineage.DatasetFacetsBuilder columnLineage(OpenLineage.ColumnLineageDatasetFacet columnLineage) - Parameters:
columnLineage
- the columnLineage- Returns:
- this
-
symlinks
- Parameters:
symlinks
- the symlinks- Returns:
- this
-
lifecycleStateChange
public OpenLineage.DatasetFacetsBuilder lifecycleStateChange(OpenLineage.LifecycleStateChangeDatasetFacet lifecycleStateChange) - Parameters:
lifecycleStateChange
- the lifecycleStateChange- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of DatasetFacets from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.DatasetFacets>
- Returns:
- the constructed type
-