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 Object
implements OpenLineage.Builder<OpenLineage.ProcessingEngineRunFacet>
builder class for ProcessingEngineRunFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of ProcessingEngineRunFacet from the fields set in the builderopenlineageAdapterVersion
(String openlineageAdapterVersion) add additional properties
-
Constructor Details
-
ProcessingEngineRunFacetBuilder
public ProcessingEngineRunFacetBuilder()
-
-
Method Details
-
version
- Parameters:
version
- Processing engine version. Might be Airflow or Spark version.- Returns:
- this
-
name
- Parameters:
name
- Processing engine name, e.g. Airflow or Spark- Returns:
- this
-
openlineageAdapterVersion
public OpenLineage.ProcessingEngineRunFacetBuilder openlineageAdapterVersion(String openlineageAdapterVersion) - Parameters:
openlineageAdapterVersion
- OpenLineage adapter package version. Might be e.g. OpenLineage Airflow integration package version- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of ProcessingEngineRunFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.ProcessingEngineRunFacet>
- Returns:
- the constructed type
-