Class OpenLineage.RunEvent

    • Constructor Detail

      • RunEvent

        public RunEvent​(java.time.ZonedDateTime eventTime,
                        java.net.URI producer,
                        java.net.URI schemaURL,
                        OpenLineage.RunEvent.EventType eventType,
                        OpenLineage.Run run,
                        OpenLineage.Job job,
                        java.util.List<OpenLineage.InputDataset> inputs,
                        java.util.List<OpenLineage.OutputDataset> outputs)
        Parameters:
        eventTime - the time the event occurred at
        producer - URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha
        schemaURL - The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this RunEvent
        eventType - 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
        run - the run
        job - the job
        inputs - The set of **input** datasets.
        outputs - The set of **output** datasets.
    • Method Detail

      • getEventTime

        public java.time.ZonedDateTime getEventTime()
        Specified by:
        getEventTime in interface OpenLineage.BaseEvent
        Returns:
        the time the event occurred at
      • getProducer

        public java.net.URI getProducer()
        Specified by:
        getProducer in interface OpenLineage.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 interface OpenLineage.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