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>
-
-
Constructor Summary
Constructors Constructor Description StorageDatasetFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.StorageDatasetFacetbuild()OpenLineage.StorageDatasetFacetBuilderfileFormat(java.lang.String fileFormat)OpenLineage.StorageDatasetFacetBuilderput(java.lang.String key, java.lang.Object value)add additional propertiesOpenLineage.StorageDatasetFacetBuilderstorageLayer(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()
- Specified by:
buildin interfaceOpenLineage.Builder<OpenLineage.StorageDatasetFacet>- Returns:
- the constructed type
-
-