Class OpenLineageDataSetEvent
java.lang.Object
org.odpi.openmetadata.frameworks.integration.openlineage.OpenLineageDataSetEvent
This class represents the content of an OpenLineage dataset event. A dataset event describes a dataset
independently of any job run, for example when a dataset is created or its schema changes. It follows
https://openlineage.io/spec/2-0-2/OpenLineage.json#/$defs/DatasetEvent. It is used internally in Egeria to pass
this information to the integration daemon's integration connectors.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return any properties that are not modelled by the bean.Return the dataset that the event describes.Return the time the event occurred at (ISO-8601).Return the URI identifying the producer of this metadata.Return the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this event.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String, Object> additionalProperties) Set up any properties that are not modelled by the bean.voidsetAdditionalProperty(String propertyName, Object propertyValue) Add a property that is not modelled by the bean.voidsetDataset(OpenLineageStaticDataSet dataset) Set up the dataset that the event describes.voidsetEventTime(String eventTime) Set up the time the event occurred at (ISO-8601).voidsetProducer(URI producer) Set up the URI identifying the producer of this metadata.voidsetSchemaURL(URI schemaURL) Set up the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this event.toString()Standard toString method.
-
Constructor Details
-
OpenLineageDataSetEvent
public OpenLineageDataSetEvent()Default constructor
-
-
Method Details
-
getEventTime
Return the time the event occurred at (ISO-8601).- Returns:
- value
-
setEventTime
Set up the time the event occurred at (ISO-8601).- Parameters:
eventTime- value
-
getProducer
Return the URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha.- Returns:
- value
-
setProducer
Set up the URI identifying the producer of this metadata. For example this could be a git url with a given tag or sha.- Parameters:
producer- value
-
getSchemaURL
Return the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this event.- Returns:
- value
-
setSchemaURL
Set up the JSON Pointer (https://tools.ietf.org/html/rfc6901) URL to the corresponding version of the schema definition for this event.- Parameters:
schemaURL- value
-
getDataset
Return the dataset that the event describes.- Returns:
- value
-
setDataset
Set up the dataset that the event describes.- Parameters:
dataset- value
-
getAdditionalProperties
Return any properties that are not modelled by the bean. They are serialized as top-level properties alongside the modelled properties.- Returns:
- map of property name to value
-
setAdditionalProperties
Set up any properties that are not modelled by the bean.- Parameters:
additionalProperties- map of property name to value
-
setAdditionalProperty
Add a property that is not modelled by the bean. Jackson calls this for each unrecognized property found in the JSON.- Parameters:
propertyName- name of the propertypropertyValue- value of the property
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-