Package io.openlineage.server
Class OpenLineage.DatasetEvent
- java.lang.Object
-
- io.openlineage.server.OpenLineage.DatasetEvent
-
- All Implemented Interfaces:
OpenLineage.BaseEvent
- Enclosing class:
- OpenLineage
public static final class OpenLineage.DatasetEvent extends java.lang.Object implements OpenLineage.BaseEvent
-
-
Constructor Summary
Constructors Constructor Description DatasetEvent(java.time.ZonedDateTime eventTime, java.net.URI producer, java.net.URI schemaURL, OpenLineage.StaticDataset dataset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()OpenLineage.StaticDatasetgetDataset()java.time.ZonedDateTimegetEventTime()java.net.URIgetProducer()java.net.URIgetSchemaURL()
-
-
-
Constructor Detail
-
DatasetEvent
public DatasetEvent(java.time.ZonedDateTime eventTime, java.net.URI producer, java.net.URI schemaURL, OpenLineage.StaticDataset dataset)- 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 RunEventdataset- the dataset
-
-
Method Detail
-
getEventTime
public java.time.ZonedDateTime getEventTime()
- Specified by:
getEventTimein interfaceOpenLineage.BaseEvent- Returns:
- the time the event occurred at
-
getProducer
public java.net.URI getProducer()
- Specified by:
getProducerin 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:
getSchemaURLin interfaceOpenLineage.BaseEvent- Returns:
- The JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this RunEvent
-
getDataset
public OpenLineage.StaticDataset getDataset()
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
- Specified by:
getAdditionalPropertiesin interfaceOpenLineage.BaseEvent- Returns:
- additional properties
-
-