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