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 java.lang.Object implements OpenLineage.Builder<OpenLineage.SchemaDatasetFacet>
builder class for SchemaDatasetFacet
-
-
Constructor Summary
Constructors Constructor Description SchemaDatasetFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.SchemaDatasetFacet
build()
build an instance of SchemaDatasetFacet from the fields set in the builderOpenLineage.SchemaDatasetFacetBuilder
fields(java.util.List<OpenLineage.SchemaDatasetFacetFields> fields)
OpenLineage.SchemaDatasetFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional properties
-
-
-
Method Detail
-
fields
public OpenLineage.SchemaDatasetFacetBuilder fields(java.util.List<OpenLineage.SchemaDatasetFacetFields> fields)
- Parameters:
fields
- The fields of the data source.- Returns:
- this
-
put
public OpenLineage.SchemaDatasetFacetBuilder put(java.lang.String key, java.lang.Object value)
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
public OpenLineage.SchemaDatasetFacet 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
-
-