Package io.openlineage.client
Class OpenLineage.JobEventBuilder
- java.lang.Object
-
- io.openlineage.client.OpenLineage.JobEventBuilder
-
- All Implemented Interfaces:
OpenLineage.Builder<OpenLineage.JobEvent>
- Enclosing class:
- OpenLineage
public final class OpenLineage.JobEventBuilder extends java.lang.Object implements OpenLineage.Builder<OpenLineage.JobEvent>
-
-
Constructor Summary
Constructors Constructor Description JobEventBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenLineage.JobEvent
build()
OpenLineage.JobEventBuilder
eventTime(java.time.ZonedDateTime eventTime)
OpenLineage.JobEventBuilder
inputs(java.util.List<OpenLineage.InputDataset> inputs)
OpenLineage.JobEventBuilder
job(OpenLineage.Job job)
OpenLineage.JobEventBuilder
outputs(java.util.List<OpenLineage.OutputDataset> outputs)
-
-
-
Method Detail
-
eventTime
public OpenLineage.JobEventBuilder eventTime(java.time.ZonedDateTime eventTime)
- Parameters:
eventTime
- the time the event occurred at- Returns:
- this
-
job
public OpenLineage.JobEventBuilder job(OpenLineage.Job job)
- Parameters:
job
- the job- Returns:
- this
-
inputs
public OpenLineage.JobEventBuilder inputs(java.util.List<OpenLineage.InputDataset> inputs)
- Parameters:
inputs
- The set of **input** datasets.- Returns:
- this
-
outputs
public OpenLineage.JobEventBuilder outputs(java.util.List<OpenLineage.OutputDataset> outputs)
- Parameters:
outputs
- The set of **output** datasets.- Returns:
- this
-
build
public OpenLineage.JobEvent build()
- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.JobEvent>
- Returns:
- the constructed type
-
-