Package io.openlineage.client
Class OpenLineage.ColumnLineageDatasetFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.ColumnLineageDatasetFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.ColumnLineageDatasetFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.ColumnLineageDatasetFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.ColumnLineageDatasetFacet>
builder class for ColumnLineageDatasetFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of ColumnLineageDatasetFacet from the fields set in the builderdataset
(List<OpenLineage.InputField> dataset) add additional properties
-
Constructor Details
-
ColumnLineageDatasetFacetBuilder
public ColumnLineageDatasetFacetBuilder()
-
-
Method Details
-
fields
public OpenLineage.ColumnLineageDatasetFacetBuilder fields(OpenLineage.ColumnLineageDatasetFacetFields fields) - Parameters:
fields
- Column level lineage that maps output fields into input fields used to evaluate them.- Returns:
- this
-
dataset
- Parameters:
dataset
- Column level lineage that affects the whole dataset. This includes filtering, sorting, grouping (aggregates), joining, window functions, etc.- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of ColumnLineageDatasetFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ColumnLineageDatasetFacet>
- Returns:
- the constructed type
-