Package io.openlineage.client
Class OpenLineage.SchemaDatasetFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.SchemaDatasetFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.SchemaDatasetFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.SchemaDatasetFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.SchemaDatasetFacet>
builder class for SchemaDatasetFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of SchemaDatasetFacet from the fields set in the builderadd additional properties
-
Constructor Details
-
SchemaDatasetFacetBuilder
public SchemaDatasetFacetBuilder()
-
-
Method Details
-
fields
public OpenLineage.SchemaDatasetFacetBuilder fields(List<OpenLineage.SchemaDatasetFacetFields> fields) - Parameters:
fields
- The fields of the data source.- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of SchemaDatasetFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.SchemaDatasetFacet>
- Returns:
- the constructed type
-