Package io.openlineage.client
Class OpenLineage.InputDatasetBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.InputDatasetBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.InputDataset>
- Enclosing class:
- OpenLineage
public static final class OpenLineage.InputDatasetBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.InputDataset>
builder class for InputDataset
-
-
Constructor Summary
Constructors Constructor Description InputDatasetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.InputDataset
build()
build an instance of InputDataset from the fields set in the builderOpenLineage.InputDatasetBuilder
facets(OpenLineage.DatasetFacets facets)
OpenLineage.InputDatasetBuilder
inputFacets(OpenLineage.InputDatasetInputFacets inputFacets)
OpenLineage.InputDatasetBuilder
name(java.lang.String name)
OpenLineage.InputDatasetBuilder
namespace(java.lang.String namespace)
-
-
-
Method Detail
-
namespace
public OpenLineage.InputDatasetBuilder namespace(java.lang.String namespace)
- Parameters:
namespace
- The namespace containing that dataset- Returns:
- this
-
name
public OpenLineage.InputDatasetBuilder name(java.lang.String name)
- Parameters:
name
- The unique name for that dataset within that namespace- Returns:
- this
-
facets
public OpenLineage.InputDatasetBuilder facets(OpenLineage.DatasetFacets facets)
- Parameters:
facets
- The facets for this dataset- Returns:
- this
-
inputFacets
public OpenLineage.InputDatasetBuilder inputFacets(OpenLineage.InputDatasetInputFacets inputFacets)
- Parameters:
inputFacets
- The input facets for this dataset.- Returns:
- this
-
build
public OpenLineage.InputDataset build()
build an instance of InputDataset from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.InputDataset>
- Returns:
- the constructed type
-
-