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 java.lang.Object implements OpenLineage.Builder<OpenLineage.DatasetFacets>
builder class for DatasetFacets
-
-
Constructor Summary
Constructors Constructor Description DatasetFacetsBuilder()
-
Method Summary
-
-
-
Method Detail
-
documentation
public OpenLineage.DatasetFacetsBuilder documentation(OpenLineage.DocumentationDatasetFacet documentation)
- Parameters:
documentation
- the documentation- Returns:
- this
-
dataSource
public OpenLineage.DatasetFacetsBuilder dataSource(OpenLineage.DatasourceDatasetFacet dataSource)
- Parameters:
dataSource
- the dataSource- Returns:
- this
-
version
public OpenLineage.DatasetFacetsBuilder version(OpenLineage.DatasetVersionDatasetFacet version)
- Parameters:
version
- the version- Returns:
- this
-
schema
public OpenLineage.DatasetFacetsBuilder schema(OpenLineage.SchemaDatasetFacet schema)
- Parameters:
schema
- the schema- Returns:
- this
-
ownership
public OpenLineage.DatasetFacetsBuilder ownership(OpenLineage.OwnershipDatasetFacet ownership)
- Parameters:
ownership
- the ownership- Returns:
- this
-
storage
public OpenLineage.DatasetFacetsBuilder storage(OpenLineage.StorageDatasetFacet storage)
- Parameters:
storage
- the storage- Returns:
- this
-
columnLineage
public OpenLineage.DatasetFacetsBuilder columnLineage(OpenLineage.ColumnLineageDatasetFacet columnLineage)
- Parameters:
columnLineage
- the columnLineage- Returns:
- this
-
symlinks
public OpenLineage.DatasetFacetsBuilder symlinks(OpenLineage.SymlinksDatasetFacet symlinks)
- Parameters:
symlinks
- the symlinks- Returns:
- this
-
lifecycleStateChange
public OpenLineage.DatasetFacetsBuilder lifecycleStateChange(OpenLineage.LifecycleStateChangeDatasetFacet lifecycleStateChange)
- Parameters:
lifecycleStateChange
- the lifecycleStateChange- Returns:
- this
-
put
public OpenLineage.DatasetFacetsBuilder put(java.lang.String key, OpenLineage.DatasetFacet value)
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
public OpenLineage.DatasetFacets 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
-
-