Package io.openlineage.client
Class OpenLineage.StorageDatasetFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.StorageDatasetFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.StorageDatasetFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.StorageDatasetFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.StorageDatasetFacet>
builder class for StorageDatasetFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of StorageDatasetFacet from the fields set in the builderfileFormat
(String fileFormat) add additional propertiesstorageLayer
(String storageLayer)
-
Constructor Details
-
StorageDatasetFacetBuilder
public StorageDatasetFacetBuilder()
-
-
Method Details
-
storageLayer
- Parameters:
storageLayer
- Storage layer provider with allowed values: iceberg, delta.- Returns:
- this
-
fileFormat
- Parameters:
fileFormat
- File format with allowed values: parquet, orc, avro, json, csv, text, xml.- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of StorageDatasetFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.StorageDatasetFacet>
- Returns:
- the constructed type
-