Package io.openlineage.client
Class OpenLineage.ProcessingEngineRunFacetBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.ProcessingEngineRunFacetBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.ProcessingEngineRunFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.ProcessingEngineRunFacetBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.ProcessingEngineRunFacet>
-
-
Constructor Summary
Constructors Constructor Description ProcessingEngineRunFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.ProcessingEngineRunFacet
build()
OpenLineage.ProcessingEngineRunFacetBuilder
name(java.lang.String name)
OpenLineage.ProcessingEngineRunFacetBuilder
openlineageAdapterVersion(java.lang.String openlineageAdapterVersion)
OpenLineage.ProcessingEngineRunFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional propertiesOpenLineage.ProcessingEngineRunFacetBuilder
version(java.lang.String version)
-
-
-
Method Detail
-
version
public OpenLineage.ProcessingEngineRunFacetBuilder version(java.lang.String version)
- Parameters:
version
- Processing engine version. Might be Airflow or Spark version.- Returns:
- this
-
name
public OpenLineage.ProcessingEngineRunFacetBuilder name(java.lang.String name)
- Parameters:
name
- Processing engine name, e.g. Airflow or Spark- Returns:
- this
-
openlineageAdapterVersion
public OpenLineage.ProcessingEngineRunFacetBuilder openlineageAdapterVersion(java.lang.String openlineageAdapterVersion)
- Parameters:
openlineageAdapterVersion
- OpenLineage adapter package version. Might be e.g. OpenLineage Airflow integration package version- Returns:
- this
-
put
public OpenLineage.ProcessingEngineRunFacetBuilder 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.ProcessingEngineRunFacet build()
- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ProcessingEngineRunFacet>
- Returns:
- the constructed type
-
-