Package io.openlineage.client
Class OpenLineage.CatalogDatasetFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.CatalogDatasetFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.CatalogDatasetFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.CatalogDatasetFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.CatalogDatasetFacet>
builder class for CatalogDatasetFacet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of CatalogDatasetFacet from the fields set in the buildermetadataUri
(String metadataUri) add additional propertieswarehouseUri
(String warehouseUri)
-
Constructor Details
-
CatalogDatasetFacetBuilder
public CatalogDatasetFacetBuilder()
-
-
Method Details
-
framework
- Parameters:
framework
- The storage framework for which the catalog is configured- Returns:
- this
-
type
- Parameters:
type
- Type of the catalog.- Returns:
- this
-
name
- Parameters:
name
- Name of the catalog, as configured in the source system.- Returns:
- this
-
metadataUri
- Parameters:
metadataUri
- URI or connection string to the catalog, if applicable.- Returns:
- this
-
warehouseUri
- Parameters:
warehouseUri
- URI or connection string to the physical location of the data that the catalog describes.- Returns:
- this
-
source
- Parameters:
source
- Source system where the catalog is configured.- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of CatalogDatasetFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.CatalogDatasetFacet>
- Returns:
- the constructed type
-