Package io.openlineage.server
Class OpenLineage.RunEvent
java.lang.Object
io.openlineage.server.OpenLineage.RunEvent
- All Implemented Interfaces:
OpenLineage.BaseEvent
- Enclosing class:
- OpenLineage
model class for RunEvent
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionRunEvent
(ZonedDateTime eventTime, URI producer, URI schemaURL, OpenLineage.RunEvent.EventType eventType, OpenLineage.Run run, OpenLineage.Job job, List<OpenLineage.InputDataset> inputs, List<OpenLineage.OutputDataset> outputs) -
Method Summary
-
Constructor Details
-
RunEvent
public RunEvent(ZonedDateTime eventTime, URI producer, URI schemaURL, OpenLineage.RunEvent.EventType eventType, OpenLineage.Run run, OpenLineage.Job job, List<OpenLineage.InputDataset> inputs, List<OpenLineage.OutputDataset> outputs) - Parameters:
eventTime
- the time the event occurred atproducer
- URI identifying the producer of this metadata. For example this could be a git url with a given tag or shaschemaURL
- The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this RunEventeventType
- 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 completerun
- the runjob
- the jobinputs
- The set of **input** datasets.outputs
- The set of **output** datasets.
-
-
Method Details
-
getEventTime
- Specified by:
getEventTime
in interfaceOpenLineage.BaseEvent
- Returns:
- the time the event occurred at
-
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
- 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
- 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
-
getJob
-
getInputs
- Returns:
- The set of **input** datasets.
-
getOutputs
- Returns:
- The set of **output** datasets.
-
getAdditionalProperties
- Specified by:
getAdditionalProperties
in interfaceOpenLineage.BaseEvent
- Returns:
- additional properties
-