Package io.openlineage.client
Class OpenLineage.RunEvent
- java.lang.Object
-
- io.openlineage.client.OpenLineage.RunEvent
-
- All Implemented Interfaces:
OpenLineage.BaseEvent
- Enclosing class:
- OpenLineage
public static final class OpenLineage.RunEvent extends java.lang.Object implements OpenLineage.BaseEvent
model class for RunEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OpenLineage.RunEvent.EventType
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.ZonedDateTime
getEventTime()
OpenLineage.RunEvent.EventType
getEventType()
java.util.List<OpenLineage.InputDataset>
getInputs()
OpenLineage.Job
getJob()
java.util.List<OpenLineage.OutputDataset>
getOutputs()
java.net.URI
getProducer()
OpenLineage.Run
getRun()
java.net.URI
getSchemaURL()
-
-
-
Method Detail
-
getEventTime
public java.time.ZonedDateTime getEventTime()
- Specified by:
getEventTime
in interfaceOpenLineage.BaseEvent
- Returns:
- the time the event occurred at
-
getProducer
public java.net.URI getProducer()
- Specified by:
getProducer
in interfaceOpenLineage.BaseEvent
- Returns:
- URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
-
getSchemaURL
public java.net.URI getSchemaURL()
- Specified by:
getSchemaURL
in interfaceOpenLineage.BaseEvent
- Returns:
- The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this RunEvent
-
getEventType
public OpenLineage.RunEvent.EventType getEventType()
- Returns:
- the current transition of the run state. It is required to issue 1 START event and 1 of [ COMPLETE, ABORT, FAIL ] event per run. Additional events with OTHER eventType can be added to the same run. For example to send additional metadata after the run is complete
-
getRun
public OpenLineage.Run getRun()
-
getJob
public OpenLineage.Job getJob()
-
getInputs
public java.util.List<OpenLineage.InputDataset> getInputs()
- Returns:
- The set of **input** datasets.
-
getOutputs
public java.util.List<OpenLineage.OutputDataset> getOutputs()
- Returns:
- The set of **output** datasets.
-
-