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 java.lang.Object implements OpenLineage.Builder<OpenLineage.JobTypeJobFacet>
builder class for JobTypeJobFacet
-
-
Constructor Summary
Constructors Constructor Description JobTypeJobFacetBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.JobTypeJobFacet
build()
build an instance of JobTypeJobFacet from the fields set in the builderOpenLineage.JobTypeJobFacetBuilder
integration(java.lang.String integration)
OpenLineage.JobTypeJobFacetBuilder
jobType(java.lang.String jobType)
OpenLineage.JobTypeJobFacetBuilder
processingType(java.lang.String processingType)
OpenLineage.JobTypeJobFacetBuilder
put(java.lang.String key, java.lang.Object value)
add additional properties
-
-
-
Method Detail
-
processingType
public OpenLineage.JobTypeJobFacetBuilder processingType(java.lang.String processingType)
- Parameters:
processingType
- Job processing type like: BATCH or STREAMING- Returns:
- this
-
integration
public OpenLineage.JobTypeJobFacetBuilder integration(java.lang.String integration)
- Parameters:
integration
- OpenLineage integration type of this job: for example SPARK|DBT|AIRFLOW|FLINK- Returns:
- this
-
jobType
public OpenLineage.JobTypeJobFacetBuilder jobType(java.lang.String jobType)
- Parameters:
jobType
- Run type, for example: QUERY|COMMAND|DAG|TASK|JOB|MODEL. This is an integration-specific field.- Returns:
- this
-
put
public OpenLineage.JobTypeJobFacetBuilder 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.JobTypeJobFacet 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
-
-