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 java.lang.Object implements OpenLineage.Builder<OpenLineage.StorageDatasetFacet>
builder class for StorageDatasetFacet
-
-
Constructor Summary
Constructors Constructor Description StorageDatasetFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.StorageDatasetFacet
build()
build an instance of StorageDatasetFacet from the fields set in the builderOpenLineage.StorageDatasetFacetBuilder
fileFormat(java.lang.String fileFormat)
OpenLineage.StorageDatasetFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional propertiesOpenLineage.StorageDatasetFacetBuilder
storageLayer(java.lang.String storageLayer)
-
-
-
Method Detail
-
storageLayer
public OpenLineage.StorageDatasetFacetBuilder storageLayer(java.lang.String storageLayer)
- Parameters:
storageLayer
- Storage layer provider with allowed values: iceberg, delta.- Returns:
- this
-
fileFormat
public OpenLineage.StorageDatasetFacetBuilder fileFormat(java.lang.String fileFormat)
- Parameters:
fileFormat
- File format with allowed values: parquet, orc, avro, json, csv, text, xml.- Returns:
- this
-
put
public OpenLineage.StorageDatasetFacetBuilder 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.StorageDatasetFacet 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
-
-