Package io.openlineage.client
Class OpenLineage.JobTypeJobFacetBuilder
java.lang.Object
io.openlineage.client.OpenLineage.JobTypeJobFacetBuilder
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.JobTypeJobFacet>
- Enclosing class:
- OpenLineage
public final class OpenLineage.JobTypeJobFacetBuilder
extends Object
implements OpenLineage.Builder<OpenLineage.JobTypeJobFacet>
builder class for JobTypeJobFacet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of JobTypeJobFacet from the fields set in the builderintegration
(String integration) processingType
(String processingType) add additional properties
-
Constructor Details
-
JobTypeJobFacetBuilder
public JobTypeJobFacetBuilder()
-
-
Method Details
-
processingType
- Parameters:
processingType
- Job processing type like: BATCH or STREAMING- Returns:
- this
-
integration
- Parameters:
integration
- OpenLineage integration type of this job: for example SPARK|DBT|AIRFLOW|FLINK- Returns:
- this
-
jobType
- Parameters:
jobType
- Run type, for example: QUERY|COMMAND|DAG|TASK|JOB|MODEL. This is an integration-specific field.- Returns:
- this
-
put
add additional properties- Parameters:
key
- the additional property namevalue
- the additional property value- Returns:
- this
-
build
build an instance of JobTypeJobFacet from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.JobTypeJobFacet>
- Returns:
- the constructed type
-