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 Object
implements OpenLineage.Builder<OpenLineage.JobEvent>
builder class for JobEvent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
build an instance of JobEvent from the fields set in the buildereventTime
(ZonedDateTime eventTime) inputs
(List<OpenLineage.InputDataset> inputs) job
(OpenLineage.Job job) outputs
(List<OpenLineage.OutputDataset> outputs)
-
Constructor Details
-
JobEventBuilder
public JobEventBuilder()
-
-
Method Details
-
eventTime
- Parameters:
eventTime
- the time the event occurred at- Returns:
- this
-
job
- Parameters:
job
- the job- Returns:
- this
-
inputs
- Parameters:
inputs
- The set of **input** datasets.- Returns:
- this
-
outputs
- Parameters:
outputs
- The set of **output** datasets.- Returns:
- this
-
build
build an instance of JobEvent from the fields set in the builder- Specified by:
build
in interfaceOpenLineage.Builder<OpenLineage.JobEvent>
- Returns:
- the constructed type
-